Delegate NetworkIdentity.ClientAuthorityCallback
The delegate type for the clientAuthorityCallback.
Namespace: UnityEngine.Networking
Syntax
public delegate void 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. |
Boolean | authorityState | The new state of client authority of the object for the connection. |