Skip to content

Commit e39f7c8

Browse files
Merge pull request #386 from JerryLin1/patch-2
Fixed typo in networkedvar.md
2 parents 764b4f8 + 9ebfff4 commit e39f7c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_docs/the-basics/networkedvar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Since the NetworkedVar container is a wrapper container around the value, the va
1515
<h3 class="panel-title">Disclaimer</h3>
1616
</div>
1717
<div class="panel-body">
18-
The NetworkedVar, NetworkedList and NetworkedDictionary implementations are <b>primarily</b> designed as samples showing how to create INetworkedVar structures. The NetworkedVar container is however concidered production ready for simple types.
18+
The NetworkedVar, NetworkedList and NetworkedDictionary implementations are <b>primarily</b> designed as samples showing how to create INetworkedVar structures. The NetworkedVar container is however considered production ready for simple types.
1919
</div>
2020
</div>
2121

@@ -33,7 +33,7 @@ To create your own NetworkedVar container, simply create a class with the INetwo
3333
### Permissions
3434
By default NetworkedVar and it's subclasses can only be wrote to by the server (NetworkedVarPermission.ServerOnly). To change that set the permission to the desired value during initialization:
3535
```csharp
36-
private NetworkedVar<float> myFloat = new NetworkedVar(new NetworkedVarSettings {WritePermission = NetworkedVarPermission.OwnerOnly}, 5);
36+
private NetworkedVar<float> myFloat = new NetworkedVar<float>(new NetworkedVarSettings {WritePermission = NetworkedVarPermission.OwnerOnly}, 5);
3737
```
3838

3939
### Example

0 commit comments

Comments
 (0)