UnityEngine.Networking.NetworkMigrationManager.OnAuthorityUpdated C# (CSharp) Method

OnAuthorityUpdated() protected method

A virtual function that is called when the authority of a non-player object changes.

protected OnAuthorityUpdated ( GameObject go, int connectionId, bool authorityState ) : void
go UnityEngine.GameObject The game object whose authority has changed.
connectionId int The id of the connection whose authority changed for this object.
authorityState bool The new authority state for the object.
return void
        protected virtual void OnAuthorityUpdated(GameObject go, int connectionId, bool authorityState)
        {
            if (LogFilter.logDev)
            {
                Debug.Log(string.Concat(new object[] { "NetworkMigrationManager OnAuthorityUpdated for ", go, " conn:", connectionId, " state:", authorityState }));
            }
        }