EDIT: I'm just asking if there's a way to sync float lists across the network from server to client and client to server. The code provided below is a script attached to a prefab. This prefab is then spawned with client authority from NetworkServer on the server side.
There's no sample code explaining how to use it.
Is it just like using List<float>? You add, remove, check using Contains(), etc.?
And the syncing happens automatically?
How to use SyncListFloat?
There's no sample code explaining how to use it.
Is it just like using List<float>? You add, remove, check using Contains(), etc.?
And the syncing happens automatically?
Code (CSharp):
- using UnityEngine.Networking;...