protected override void OnRabbitHit(HeroRabbit rabbit) { LevelController.current.increasCoins(); if (LevelController.getSound()) { rabbit.playMusicOnCoin(); } }
public override void OnRabitHit(HeroRabbit rabit) { LevelController.current.addCoins(1); this.CollectedHide(); rabit.playMusicOnCoin(); }