public void Update() { InitializationSystemGroup initializationSystemGroup = GetExistingSystem(typeof(InitializationSystemGroup)) as InitializationSystemGroup; SimulationSystemGroup simulationSystemGroup = GetExistingSystem(typeof(SimulationSystemGroup)) as SimulationSystemGroup; PresentationSystemGroup presentationSystemGroup = GetExistingSystem(typeof(PresentationSystemGroup)) as PresentationSystemGroup; initializationSystemGroup?.Update(); simulationSystemGroup?.Update(); presentationSystemGroup?.Update(); }
public void Update() { InitializationSystemGroup initializationSystemGroup = GetExistingSystem(typeof(InitializationSystemGroup)) as InitializationSystemGroup; SimulationSystemGroup simulationSystemGroup = GetExistingSystem(typeof(SimulationSystemGroup)) as SimulationSystemGroup; PresentationSystemGroup presentationSystemGroup = GetExistingSystem(typeof(PresentationSystemGroup)) as PresentationSystemGroup; initializationSystemGroup?.Update(); simulationSystemGroup?.Update(); presentationSystemGroup?.Update(); Assert.IsTrue(EntityManager.GetBuffer <WorldTimeQueue>(TimeSingleton).Length == 0, "PushTimeData without matching PopTimedata"); }