Beispiel #1
0
 void Start()
 {
     se      = GS_SE.GetComponent <AudioSource>();
     played_ = finish.get_played();
     b1      = true;
     b2      = true;
 }
Beispiel #2
0
    private IEnumerator game_start()
    {
        fade.SetActive(true);
        ani1 = QAZE_play.GetComponent <Animator>();
        ani2 = ui_start_tuto.GetComponent <Animator>();
        ani3 = GS_CDswitch.GetComponent <Animator>();
        se   = GS_SE.GetComponent <AudioSource>();
        ani1.SetTrigger("start");
        ani2.SetTrigger("start");
        ani3.SetTrigger("start");
        se.PlayOneShot(se_start);
        yield return(new WaitForSeconds(2f));

        SceneManager.LoadScene("game_demo");
    }
Beispiel #3
0
 void Start()
 {
     t_image1.SetActive(true);
     t_image2.SetActive(false);
     se = GS_SE.GetComponent <AudioSource>();
 }
Beispiel #4
0
 public void back()
 {
     se = GS_SE.GetComponent <AudioSource>();
     se.PlayOneShot(se_on);
     UI_option.SetActive(false);
 }
Beispiel #5
0
 public void Start()
 {
     se = GS_SE.GetComponent <AudioSource>();
 }