Constructor NetworkVariableBase
NetworkVariableBase(NetworkVariableReadPermission, NetworkVariableWritePermission)
The default constructor for NetworkVariableBase that can be used to create a custom NetworkVariable.
Declaration
protected NetworkVariableBase(NetworkVariableReadPermission readPerm = NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission writePerm = NetworkVariableWritePermission.Server)
Parameters
Type | Name | Description |
---|---|---|
NetworkVariableReadPermission | readPerm | the NetworkVariableReadPermission access settings |
NetworkVariableWritePermission | writePerm | the NetworkVariableWritePermission access settings |