Exemplo n.º 1
0
    // Update is called once per frame
    public void setLine(int i)
    {
        switch (i)
        {
        case 0: {
            readyAni.SetTrigger("on");
            Qs.SetActive(true);
            Enter.SetActive(true);
            EQ.SetActive(true);
            on[8] = false;
        } break;

        case 1: {
            readyAni.SetTrigger("on");
            As.SetActive(true);
            Enter.SetActive(true);
            EA.SetActive(true);
            on[8] = false;
        } break;

        case 2: {
            readyAni.SetTrigger("on");
            Zs.SetActive(true);
            Enter.SetActive(true);
            EZ.SetActive(true);
            on[8] = false;
        } break;
        }
    }
Exemplo n.º 2
0
 void Start()
 {
     QAZE.SetActive(true);
     Enter.SetActive(true);
     _Start.SetActive(true);
     Menu.SetActive(false);
     Menu_Play.SetActive(false);
     QAZE_play.SetActive(false);
     //play_on.SetActive(false);
     back.SetActive(false);
     Canvas_fade.SetActive(false);
     display_screen.SetActive(false);
     CD_II_Switch.SetActive(false);
     GS_bgm.SetActive(true);
     ui_tutorial.SetActive(false);
     UI_option.SetActive(false);
 }