Exemplo n.º 1
0
    public void GameEnd(bool _victory)
    {
        Color c = gameplayManager.Data.Colors[_victory ? 2 : 3];

        c.a        = 0.8f;
        logo.color = c;
        endScreen.gameObject.SetActive(true);
        endScreenText.text = _victory ? "victory" : "defeat";
        endScreen.Anim();
    }
Exemplo n.º 2
0
 public void Transition(e_step _step)
 {
     transitionText.text = _step.ToString();
     transition.Anim();
 }