private bool CheckIfSeeingPlayer() { if (!sight.CanSeePlayer()) { return(false); } if (!sight.isLookingAtPlayer()) { return(false); } ModifyAwareness(GetVisibilityMultiplier()); if (awareness >= 100) { awareness = 100; GameManager.Instance.EndGame(); } return(true); }