public DispatcherHandler(WorkerSystem worker, World world) : base(worker, world) { entityManager = world.GetOrCreateManager <EntityManager>(); var bookkeepingSystem = world.GetOrCreateManager <CommandRequestTrackerSystem>(); cmdStorage = bookkeepingSystem.GetCommandStorageForType <CommandStorages.Cmd>(); }
public ComponentReplicator(EntityManager entityManager, Unity.Entities.World world) : base(entityManager) { var bookkeepingSystem = world.GetOrCreateManager <CommandRequestTrackerSystem>(); cmdStorage = bookkeepingSystem.GetCommandStorageForType <CommandStorages.Cmd>(); }