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