Пример #1
0
    void DelayedDisplayText()
    {
        buttonToShow.ChangeVisibility(true);
        infoDimmerAnim.Show();
        infoTextAnim.Show();

        cam.Shake(0.15f, 0.15f);
        cam.Chromate(0.75f, 0.1f);

        if (currentTurn == 1)
        {
            AudioManager.Instance.PlayEffectAt(15, Vector3.zero, 0.5f);
        }
        else
        {
            AudioManager.Instance.PlayEffectAt(8, Vector3.zero, 0.5f);
        }

        quitButton.ChangeVisibility(true);
    }