Example #1
0
    public void StopFollowingPlayer()
    {
        mFollowPlayer = false;
        // This happens at the end of the game. Shortly after this we want to fade to black.
        FadeIn fadeIn = GameObject.FindObjectOfType <FadeIn>();

        if (fadeIn != null)
        {
            fadeIn.StartFadeOut();
        }
    }