Ejemplo n.º 1
0
        protected override void OnCreateManager(int capacity)
        {
            base.OnCreateManager(capacity);

            worker                  = Worker.GetWorkerFromWorld(World);
            viewCommandBuffer       = new ViewCommandBuffer(EntityManager, worker.LogDispatcher);
            entityGameObjectCreator = new EntityGameObjectCreator(World);
            entityGameObjectLinker  = new EntityGameObjectLinker(World, worker.LogDispatcher);
        }
Ejemplo n.º 2
0
        protected override void OnCreateManager(int capacity)
        {
            base.OnCreateManager(capacity);

            worker = WorkerRegistry.GetWorkerForWorld(World);
            view   = worker.View;
            origin = worker.Origin;
            entityGameObjectCreator = new EntityGameObjectCreator(World);
        }