public override void Finish(Unit unit) { unit.AI.NavMeshAgentEnabled = false; unit.RemoveState(UnitControlState.ConfusedMove); unit.StopMoving(); nextMoveTime.Reset(0); }
public override void Finish(Unit unit) { unit.AI.NavMeshAgentEnabled = false; unit.RemoveState(UnitControlState.ConfusedMove); unit.StopMoving(); nextMoveTime.Reset(0); }