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

        craftingMenuBehaviour = crafter;

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