public DoWork(WorkStructureBase structure, WorkOrderBase order) { _structure = structure; StructureId = structure.Id; Order = order; RequiredSkill = order.Skill; RequiredSkillLevel = order.Option.RequiredSkillLevel; }
internal void Load(WorkStructureBase structure, WorkDefinition definition, WorkOption option, StructureInfoPanel panel) { Panel = panel; Structure = structure; Definition = definition; Option = option; Image.sprite = Loc.GetSpriteStore().GetSprite(Option.Icon); Title.text = $"{definition.Name}: {option.Name}"; }