예제 #1
0
 protected override void OnRabbitHit(HeroRabbit rabbit)
 {
     rabbit.setIncrease(true);
     rabbit.increaseHealth();
     if (LevelController.getSound())
     {
         rabbit.playMusicOnMushroom();
     }
 }
예제 #2
0
 public override void OnRabitHit(HeroRabbit rabit)
 {
     HeroRabbit.current.becomeSuper();
     this.CollectedHide();
     rabit.playMusicOnMushroom();
 }