Delegate NetworkIdentity.ClientAuthorityCallback | Multiplayer HLAPI | 1.0.8
docs.unity.cn
    Show / Hide Table of Contents

    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.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 December 2020