public WorkerFlagReader(World world)
 {
     IsValid        = true;
     callbackSystem = world.GetExistingSystem <WorkerFlagCallbackSystem>();
     workerSystem   = world.GetExistingSystem <WorkerSystem>();
 }
Ejemplo n.º 2
0
        protected override void OnCreate()
        {
            base.OnCreate();

            workerSystem = World.GetExistingSystem <WorkerSystem>();
        }