Version: 5.5

NetworkIdentity.RemoveClientAuthority

Switch to Manual
public bool RemoveClientAuthority (Networking.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.