Woken.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
    void Update()
    {
        // Call update to suspicion meter if santa hits the AI
        if (woken)
        {
            // Set the animator parameter "Woken" to whether if santa has hit the AI.
            anim.SetBool("Woken", woken);

            StartCoroutine(PersonSeen());

        }
    }