Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <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);
 }