Class SyncListFloat
A list of floats that will be synchronized from server to clients.
Inheritance
SyncListFloat
Syntax
[Obsolete("The high level API classes are deprecated and will be removed in the future.")]
public sealed class SyncListFloat : SyncList<float>, IList<float>, ICollection<float>, IEnumerable<float>, IEnumerable
Methods
DeserializeItem(NetworkReader)
Declaration
protected override float DeserializeItem(NetworkReader reader)
Parameters
Returns
Overrides
UnityEngine.Networking.SyncList<System.Single>.DeserializeItem(UnityEngine.Networking.NetworkReader)
ReadInstance(NetworkReader)
Declaration
[Obsolete("ReadReference is now used instead")]
public static SyncListFloat ReadInstance(NetworkReader reader)
Parameters
Returns
ReadReference(NetworkReader, SyncListFloat)
An internal function used for serializing SyncList member variables.
Declaration
public static void ReadReference(NetworkReader reader, SyncListFloat syncList)
Parameters
SerializeItem(NetworkWriter, Single)
Declaration
protected override void SerializeItem(NetworkWriter writer, float item)
Parameters
Overrides
UnityEngine.Networking.SyncList<System.Single>.SerializeItem(UnityEngine.Networking.NetworkWriter, System.Single)
WriteInstance(NetworkWriter, SyncListFloat)
Declaration
public static void WriteInstance(NetworkWriter writer, SyncListFloat items)
Parameters