Class NetworkVariableUInt
A NetworkVariable that holds uints and support serialization
Implements
Inherited Members
Namespace: MLAPI.NetworkVariable
Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
Syntax
[Serializable]
public class NetworkVariableUInt : NetworkVariable<uint>, INetworkVariable
Constructors
NetworkVariableUInt()
Creates a NetworkVariable with the default value and settings
Declaration
public NetworkVariableUInt()
NetworkVariableUInt(NetworkVariableSettings)
Creates a NetworkVariable with the default value and custom settings
Declaration
public NetworkVariableUInt(NetworkVariableSettings settings)
Parameters
Type | Name | Description |
---|---|---|
NetworkVariableSettings | settings | The settings to use for the NetworkVariable |
NetworkVariableUInt(NetworkVariableSettings, uint)
Creates a NetworkVariable with a custom value and custom settings
Declaration
public NetworkVariableUInt(NetworkVariableSettings settings, uint value)
Parameters
Type | Name | Description |
---|---|---|
NetworkVariableSettings | settings | The settings to use for the NetworkVariable |
uint | value | The initial value to use for the NetworkVariable |
NetworkVariableUInt(uint)
Creates a NetworkVariable with a custom value and the default settings
Declaration
public NetworkVariableUInt(uint value)
Parameters
Type | Name | Description |
---|---|---|
uint | value | The initial value to use for the NetworkVariable |