Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/_docs/the-basics/networkedvar.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ Since the NetworkedVar container is a wrapper container around the value, the va
</div>
</div>

<div class="panel panel-warning">
<div class="panel-heading">
<h3 class="panel-title">Note</h3>
</div>
<div class="panel-body">
You must remember to add the NetworkedObject component to the game object to which your script belongs
</div>
</div>

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.

### Permissions
Expand Down