void OnCustomizationItemUnlockFailed(CustomizationID itemIdentifier)
 {
     if (View.ID.Equals(itemIdentifier))
     {
         audioPlayer.PlaySfx(SfxType.Locked);
     }
 }
Example #2
0
 protected override void OnClick(bool value)
 {
     audioPlayer.PlaySfx(value ? SfxType.ToggleOn : SfxType.ToggleOff);
 }
Example #3
0
 public AudioSource PlaySfx(AudioClip clip)
 {
     return(audioPlayer.PlaySfx(clip));
 }
Example #4
0
 protected override void OnClick()
 {
     audioPlayer.PlaySfx(SfxType.Tap);
 }
Example #5
0
 void PlayIntroSound()
 {
     audioPlayer.PlaySfx(SfxType.CoinRewardIntro);
 }
Example #6
0
 void OnWindowStart()
 {
     audioPlayer.PlaySfx(SfxType.OpenWindow);
 }