using Duality; using Duality.Resources; namespace Steering { public class SteeringCorePlugin : CorePlugin { protected override void OnBeforeUpdate() { var agents = Scene.Current.FindComponents(); foreach (var agent in agents) agent.Update(); } } }