コード例 #1
0
 // Use this for initialization
 void Start()
 {
     OutroCutsceneAudio.singleton = this;
     DontDestroyOnLoad(this);
     this.audioSource      = this.gameObject.GetComponent <AudioSource> ();
     this.audioSource.clip = AudioManagerUtility.StraussOrchestraClip;
     this.audioSource.Play();
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     OutroCutsceneAudio.singleton = this;
     DontDestroyOnLoad (this);
     this.audioSource = this.gameObject.GetComponent<AudioSource> ();
     this.audioSource.clip = orchestralMusic;
     this.audioSource.Play ();
 }
コード例 #3
0
 // Use this for initialization
 void Start()
 {
     OutroCutsceneAudio.singleton = this;
     DontDestroyOnLoad(this);
     this.audioSource      = this.gameObject.GetComponent <AudioSource> ();
     this.audioSource.clip = orchestralMusic;
     this.audioSource.Play();
 }