public void SetCraftingActionButton(CraftingAction craftAction, CraftingManager crafter) { craftingAction = craftAction; craftingMenuBehaviour = crafter; this.SetWidgetText(craftingAction.ToString()); }
public void SetToolData(CraftingAction tool) { this.ToolName = tool.ToString(); ButtonText.text = this.ToolName; this.action = tool; }