public static ToolTypeValue Create(ToolType toolType) { ToolTypeValue toolTypeValue = CreateInstance <ToolTypeValue>(); toolTypeValue.toolType = toolType; return(toolTypeValue); }
public override Value Clone() { ToolTypeValue toolTypeValue = CreateInstance <ToolTypeValue>(); toolTypeValue.toolType = toolType; return(toolTypeValue); }
public static EquipTool CreateFromToolType(ToolType toolType) { ToolTypeValue typeValue = ToolTypeValue.Create(toolType); EquipTool equipTool = CreateInstance <EquipTool>(); equipTool.toolTypeValue = typeValue; return(equipTool); }