示例#1
0
 //副程式:Work頁面
 public void WorkPage()
 {
     //播放按鈕音效
     MainState.Button_Sounds_Play();
     //顯示Work畫面
     WorkBackGround.SetActive(true);
     MainState.WorkBool = true;
     //播放WorkPage進入動畫
     AnimationIN.WorkPage_IN_Bool();
     //隱藏Manage畫面
     PeopleBackGround.SetActive(false);
     MainState.PeopleBool = false;
 }
示例#2
0
    //副程式:Work頁面
    public void WorkPage()
    {
        //播放按鈕音效
        MainState.Button_Sounds_Play();

        //切回麵包師傅區域,這樣下次回來就會回到麵包師傅區域頁面
        Manage_Area_Number = 0;
        Set_Manage_Area_Number(0);

        //顯示Work畫面
        WorkBackGround.SetActive(true);
        MainState.WorkBool = true;
        //播放WorkPage進入動畫
        AnimationIN.WorkPage_IN_Bool();
        //隱藏Manage畫面
        AreaBackGround.SetActive(false);
        MainState.AreaBool = false;
    }