Skip to content

Commit 6bb5131

Browse files
docs: Update networkedvar.md (#356)
1 parent 5f474e5 commit 6bb5131

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/_docs/the-basics/networkedvar.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ Since the NetworkedVar container is a wrapper container around the value, the va
1919
</div>
2020
</div>
2121

22+
<div class="panel panel-warning">
23+
<div class="panel-heading">
24+
<h3 class="panel-title">Note</h3>
25+
</div>
26+
<div class="panel-body">
27+
You must remember to add the NetworkedObject component to the game object to which your script belongs
28+
</div>
29+
</div>
30+
2231
To create your own NetworkedVar container, simply create a class with the INetworkedVar interface and declare it as a field of a NetworkedBehaviour. To learn how to write your own containers for more complex structures, see the NetworkedVar implementation. To learn how to do custom delta encoding on complex structures. See the SyncedDictionary and SyncedLIst implementations.
2332

2433
### Permissions

0 commit comments

Comments
 (0)