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); }
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); }