void Start() { se = GS_SE.GetComponent <AudioSource>(); played_ = finish.get_played(); b1 = true; b2 = true; }
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"); }
void Start() { t_image1.SetActive(true); t_image2.SetActive(false); se = GS_SE.GetComponent <AudioSource>(); }
public void back() { se = GS_SE.GetComponent <AudioSource>(); se.PlayOneShot(se_on); UI_option.SetActive(false); }
public void Start() { se = GS_SE.GetComponent <AudioSource>(); }