public override void Action() { base.Action(); foreach (var ai in ais) { AIBehavior aiBis = ai.GetComponent <AIBehavior>(); aiBis.GoToRandomPosition(); aiBis.DontMove(timeStun); } ais.Clear(); }