예제 #1
0
파일: setup.cs 프로젝트: CD-mon/QAZE-main
 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);
 }
예제 #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);
     }
 }
예제 #3
0
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Return) || Input.GetMouseButtonDown(0))
     {
         if (!played_ && b1)
         {
             _Start.SetActive(false);
             Menu.SetActive(true);
             mouse_p.SetActive(true);
             enter.SetActive(false);
             QAZE.SetActive(false);
             se.PlayOneShot(se_entry);
             b1 = false;
         }
         if (played_ && b2)
         {
             ui_score_off();
             b2 = false;
         }
     }
 }