Version: 5.5
public bool OnCheckObserver (Networking.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.