private void OnTriggerStay(Collider other) { if (_canSeePlayer) { return; } _canSeePlayer = CombatManager.ViewUnobscured(_creature, Player.Instance); if (_canSeePlayer) { _ai.DetectedEnemy(Player.Instance); } }