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