void Update() { // Set the animator parameter "SantaInSight" to whether if santa is currently in sight. anim.SetBool("SantaInSight", santaInSight); // Call update to suspicion meter if santa is seen if (santaInSight) StartCoroutine(PersonSeen()); }