How to use SyncListFloat?

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? You add, remove, check using Contains(), etc.?

And the syncing happens automatically?

using UnityEngine.Networking;

public class Foo : NetworkBehaviour {
    public SyncListFloat floatList = new SyncListFloat();

    public void Start() {
        floatList.Add(10f);

        //...
        //...
        //..?

        //Nothing else to do?
    }
}

Is this correct? I can’t tell because nothing is syncing or is being synced.

    [Command]
    public void CmdAdd() {
        this.floatList.Add(10f);
    }

http://docs.unity3d.com/ScriptReference/Networking.SyncList_1.SyncListChanged.html

No, that doesn’t help with the server and client both syncing data. It’s just an event where if registered, it will fire any actions I tell it to do when I add new float values to the list.

Unless there’s an action that I can do that would sync the float list across the network, like a ForceSync() or UpdateSync() or Fetch()?