Exemplo n.º 1
0
    public void BE_Next()
    {
        SM.Play_effect(0);

        stage++;

        SetStage();
        Go_Back.SetActive(true);
        Go_Next.SetActive(false);
    }
Exemplo n.º 2
0
 void OnEnable()
 {
     stage = 1;
     Go_Back.SetActive(false);
     Go_Next.SetActive(true);
     Btns_main[0].interactable = false;
     Btns_main[1].interactable = true;
     Btns_main[2].interactable = true;
     SetStage();
 }
Exemplo n.º 3
0
    //public 함수들-----------------------------------------------------------------------------------------------------------------

    // planet >> 1 : 토양 ,   2 : 수질,   3 : 대기
    public void BE_Planet(int planet)
    {
        SM.Play_effect(0);

        //활성화 설정
        for (int i = 0; i < 3; i++)
        {
            Btns_main[i].interactable = planet.Equals(i + 1) ? false : true;
        }

        stage = planet * 2 - 1;

        SetStage();
        Go_Back.SetActive(false);
        Go_Next.SetActive(true);
    }