This version of Unity is unsupported.
Method group is Obsolete

NetworkIdentity.RemoveClientAuthority

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public bool RemoveClientAuthority(NetworkConnection conn);

Parameters

conn The connection of the client to remove authority for.

Returns

bool True if authority is removed.

Description

Removes ownership for an object for a client by its conneciton.

This applies to objects that had authority set by AssignClientAuthority, or NetworkServer.SpawnWithClientAuthority. Authority cannot be removed for player objects.