Example #1
0
 public override void Enter(Creature goblin)
 {
     _goblin = (Goblin)goblin;
     _plant  = _goblin.Target.GetComponent <Plant>();
     _goblin.Animator.Play("Eating");
 }
Example #2
0
 public override void Enter(Creature goblin)
 {
     _goblin = (Goblin)goblin;
     _enemy  = _goblin.Target.GetComponent <Skyvan>();
     _goblin.Animator.Play("Attack");
 }
Example #3
0
 public override void Enter(Creature creature)
 {
     _skyvan      = (Skyvan)creature;
     _stealTarget = _skyvan.Target.GetComponent <Goblin>();
     _progress    = 0f;
 }
Example #4
0
 public override void Enter(Creature creature)
 {
     _goblin = (Goblin)creature;
     creature.Animator.Play("Walk");
 }