namespace Unity.Netcode.RuntimeTests { public class NetworkVisibilityComponent : NetworkBehaviour { public void Hide() { GetComponent().CheckObjectVisibility += HandleCheckObjectVisibility; } protected virtual bool HandleCheckObjectVisibility(ulong clientId) => false; } }