public void SetCraftingActionButton(CraftingAction craftAction, CraftingManager crafter)
    {
        craftingAction = craftAction;

        craftingMenuBehaviour = crafter;

        this.SetWidgetText(craftingAction.ToString());
    }
Example #2
0
 public void SetToolData(CraftingAction tool)
 {
     this.ToolName   = tool.ToString();
     ButtonText.text = this.ToolName;
     this.action     = tool;
 }