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