예제 #1
0
 void OnCustomizationItemUnlockFailed(CustomizationID itemIdentifier)
 {
     if (View.ID.Equals(itemIdentifier))
     {
         audioPlayer.PlaySfx(SfxType.Locked);
     }
 }
예제 #2
0
 protected override void OnClick(bool value)
 {
     audioPlayer.PlaySfx(value ? SfxType.ToggleOn : SfxType.ToggleOff);
 }
예제 #3
0
파일: HGameplay.cs 프로젝트: lxynb/MiniGame
 public AudioSource PlaySfx(AudioClip clip)
 {
     return(audioPlayer.PlaySfx(clip));
 }
예제 #4
0
 protected override void OnClick()
 {
     audioPlayer.PlaySfx(SfxType.Tap);
 }
예제 #5
0
 void PlayIntroSound()
 {
     audioPlayer.PlaySfx(SfxType.CoinRewardIntro);
 }
예제 #6
0
 void OnWindowStart()
 {
     audioPlayer.PlaySfx(SfxType.OpenWindow);
 }