Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 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);
 }