예제 #1
0
 public void Construct(FIUISoundPlayer _uiSoundPlayer)
 {
     uiSoundPlayer = _uiSoundPlayer;
     GetComponent <Button>().onClick.AddListener(new UnityEngine.Events.UnityAction(() => {
         uiSoundPlayer.Play(clip);
     }));
 }
예제 #2
0
 public void Construct(FIUISoundPlayer _uiSoundPlayer)
 {
     uiSoundPlayer = _uiSoundPlayer;
 }