コード例 #1
0
ファイル: SoundManager.cs プロジェクト: cowarrior1/Mini_Games
 /// <summary>
 /// Received when an AudioClip stops its execution
 /// </summary>
 /// <param name="target">Object sound that dispatched the event</param>
 private void SoundManager_OnFinish(Sound target)
 {
     sounds.Remove(target);
     Destroy(target.gameObject);
 }
コード例 #2
0
ファイル: SoundManager.cs プロジェクト: cowarrior1/Mini_Games
 /// <summary>
 /// Received when an AudioClip starts its execution
 /// </summary>
 /// <param name="target">Object sound that dispatched the event</param>
 private void SoundManager_OnStart(Sound target)
 {
     //throw new System.NotImplementedException();
 }