/// <summary> /// Changes the owner of the object. Can only be called from server /// </summary> /// <param name="newOwnerClientId">The new owner clientId</param> public void ChangeOwnership(uint newOwnerClientId) { SpawnManager.ChangeOwnership(NetworkId, newOwnerClientId); }
/// <summary> /// Changes the owner of the object. Can only be called from server /// </summary> /// <param name="newOwnerClientId">The new owner clientId</param> public void ChangeOwnership(ulong newOwnerClientId) { SpawnManager.ChangeOwnership(this, newOwnerClientId); }