Interface INetworkAuthoritative
Allows network components to be controlled by a single authority on the network.
Namespace: SuperNet.Unity.Components
Assembly: cs.temp.dll.dll
Syntax
public interface INetworkAuthoritative
Methods
OnNetworkAuthorityUpdate(Boolean, HostTimestamp)
Called when authority of this component changes.
Declaration
void OnNetworkAuthorityUpdate(bool authority, HostTimestamp timestamp)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | authority | True if component has local authority, false if not. |
HostTimestamp | timestamp | Timestamp when authority changed. |