Пример #1
0
 public static void ClearWorldTempTool()
 {
     if (WETools.WETempTool != null)
     {
         WETools.WETempTool = null;
     }
 }
Пример #2
0
        public static void SetWorldTempTool(WEFuncTool tool)
        {
            WETools.WETempTool = tool;

            // Update Helper Text (if applicable)
            WETools.UpdateHelperText();
        }
Пример #3
0
        public static WEFuncTool WETempTool;                    // The highest priority tool; runs because the user is forcing a temporary tool to activate.

        public static void SetWorldTileTool(WETileTool tool, byte index = 0)
        {
            WETools.WETileTool = tool;
            WETools.WEFuncTool = null;
            WETools.WETempTool = null;

            WE_UI.curWESlotGroup = WETools.WETileTool.slotGroup;

            // Assign Index and SubIndex to WorldTileTool (if applicable)
            WETools.WETileTool.SetIndex(index);

            // Update Helper Text (if applicable)
            WETools.UpdateHelperText();
        }