AbandonAuthority
method in Coherence.Toolkit.CoherenceSync
Methods
public bool AbandonAuthority()
Transfers ownership of the game object to the replication server, making it an orphan.
Returns
Type | Description |
---|---|
bool | true if the authority transfer was successful, or false otherwise. |
Remarks
The game object must be persistent, transferable and simulated by this client. The transfer fails if there's no authority over the entity, lifetimeType is SessionBased or authorityTransferType is NotTransferable.