示例#1
0
 public override void OnRabbitEnter(HeroRabbit rab)
 {
     rab.addHealth(1);
     rab.onHealthChange();
     this.hideCollectable();
 }
示例#2
0
 protected override void OnRabitHit(HeroRabbit rabit)
 {
     rabit.addHealth(1);
     rabit.makeBigger();
     this.CollectedHide();
 }