public override void Setup()
        {
            base.Setup();

            CloseAllDebuggers();

            m_Window = EditorWindow.GetWindow <EntityDebugger>();

            m_System = World.GetOrCreateSystem <SingleGroupSystem>();
            World.GetOrCreateSystem <SimulationSystemGroup>().AddSystemToUpdateList(m_System.Managed);

            ScriptBehaviourUpdateOrder.AddWorldToCurrentPlayerLoop(World);

            World2 = new World(World2Name);
            var emptySys = World2.GetOrCreateSystem <EmptySystem>();

            World.GetOrCreateSystem <SimulationSystemGroup>().AddSystemToUpdateList(emptySys);
            World.GetOrCreateSystem <SimulationSystemGroup>().SortSystems();

            entityQuery = m_System.Managed.EntityQueries[0];

            m_Entity = m_Manager.CreateEntity(typeof(EcsTestData));
        }
コード例 #2
0
 private static void SetSystemSelection(SystemSelection system, World world)
 {
 }