Method group is Obsolete

NetworkBehaviour.OnCheckObserver

Switch to Manual
Obsolete public bool OnCheckObserver (NetworkConnection conn);

Parameters

connNetwork connection of a player.

Returns

bool True if the player can see this object.

Description

Callback used by the visibility system to determine if an observer (player) can see this object.

If this function returns true, the network connection will be added as an observer.