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); }
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); }
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); } }