Delegate NetworkIdentity.ClientAuthorityCallback
The delegate type for the clientAuthorityCallback.
Namespace: UnityEngine.Networking
Assembly: com.unity.multiplayer-hlapi.Runtime.dll
Syntax
public delegate void NetworkIdentity.ClientAuthorityCallback(NetworkConnection conn, NetworkIdentity uv, bool authorityState)
Parameters
Type | Name | Description |
---|---|---|
NetworkConnection | conn | The network connection that is gaining or losing authority. |
NetworkIdentity | uv | The object whose client authority status is being changed. |
bool | authorityState | The new state of client authority of the object for the connection. |