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