protected override void OnCreateManager(int capacity)
        {
            base.OnCreateManager(capacity);

            origin = World.GetExistingManager <WorkerSystem>().Origin;

            tickSystem = World.GetOrCreateManager <TickSystem>();
        }
Exemplo n.º 2
0
        protected override void OnCreateManager(int capacity)
        {
            base.OnCreateManager(capacity);

            var worker = Core.Worker.GetWorkerFromWorld(World);

            origin = worker.Origin;

            tickSystem = World.GetOrCreateManager <TickSystem>();
        }