예제 #1
0
 //打擊音效
 public void Btn_Spin()
 {
     _AddSound = DoSound;
     _AddSound.Invoke(_clips.Click, "Click");
 }
예제 #2
0
 //自訂義要的音效
 public void CustomizeSound(ClipSet cilp, string name)
 {
     _AddSound = DoSound;
     _AddSound.Invoke(cilp, name);
 }
예제 #3
0
 public MusicClipsSpawner(MusicClipsFactory musicFactory, IAudioSystemView audioSystenView, AddSound addSound)
 {
     this.musicFactory    = musicFactory;
     this.audioSystenView = audioSystenView;
     add = addSound;
 }