This version of Unity is unsupported.
Method group is Obsolete

NetworkBehaviour.OnCheckObserver

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

Declaration

public bool OnCheckObserver(NetworkConnection conn);

Parameters

conn Network 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.