public static void Update() { foreach (var system in activeSystems) { #if UNITY_EDITOR if (system.enabled) { system.Update(); } #else system.Update(); #endif } HEvents.Invoke(); HCleanUp.CleanUp(); }
public static void Start() { activeSystems.Clear(); foreach (var system in _systems) { foreach (var hActor in HActors.hActors) { system.CreateBundle(hActor); } } HEvents.Start(); foreach (var system in activeSystems) { system.Start(); } HEvents.Invoke(); HCleanUp.CleanUp(); }