public override void MoveSet()
 {
     base.MoveSet();
     //moves unless it hits something, so time is high
     time = UnityEngine.Random.Range(300, 1000);
     moveIdle.MoveSet(speed, time, idle);
 }
Exemple #2
0
 public override void Enter()
 {
     base.Enter();
     //turn around, run for a while, set all attack and hurt things to false
     moveRun.MoveSet(5f, 70, run);
 }