Пример #1
0
 public void PB_p_click()
 {
     /*
      * GameObject P_clone = (GameObject)Instantiate(Play);
      * P_clone.transform.SetParent(Canvas.transform,true);
      */
     Play.SetActive(true);
     display_screen.SetActive(true);
     CreateMode.SetActive(true);
     Option.SetActive(true);
     display.SetActive(true);
     Canvas_tips.SetActive(true);
     Menu_Play.SetActive(false);
     QAZE_play.SetActive(false);
     GS_cdswitch.SetActive(false);
     GS_bgm.SetActive(true);
     se.PlayOneShot(se_back);
 }
Пример #2
0
 public void Play_p_click()
 {
     display_screen.SetActive(false);
     Play.SetActive(false);
     CreateMode.SetActive(false);
     Option.SetActive(false);
     display.SetActive(false);
     Canvas_tips.SetActive(false);
     QAZE.SetActive(false);
     QAZE_play.SetActive(true);
     Menu_Play.SetActive(true);
     GS_cdswitch.SetActive(true);
     GS_bgm.SetActive(false);
     se.PlayOneShot(se_on);
     if (tutorial_tips.get_tutokey())
     {
         ui_tutorial.SetActive(true);
     }
 }