Exemple #1
0
    public void ClickWarrantExit()
    {
        //Slides the map down.
        AudioManager.PlaySound(8);
        GameManager.ResetScore();
        UITween.rctfMapSlide(-500f, 0);

        //Go to the credits scene.
        RoomManager.LoadRoom(RoomManager.GetCreditsIndex());
        UITween.optionsActive(false);
        UITween.LoadingCredits(2f);
        GameManager.SetPlayerPause(false);
    }