658 B
658 B
NetworkedObject.ChangeOwnership Method
Changes the owner of the object. Can only be called from server
Namespace: MLAPI
Assembly: MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void ChangeOwnership(
int newOwnerClientId
)
Parameters
- newOwnerClientId
- Type: System.Int32
The new owner clientId