コード例 #1
0
        public void action()
        {
            OptionalPatches.update();             // we need to update patches before the code below, so we using single action

            if (!Main.config.limitBlueprints)
            {
                uGUIBuilderMenu_Show_Patch.enableAllTabs();
            }

            uGUI_BuilderMenu.singleton.UpdateItems();
        }
コード例 #2
0
        public void action()
        {
            OptionalPatches.update();

            if (!Main.config.limitBlueprints)
            {
                uGUIBuilderMenu_Show_Patch.enableAllTabs();
            }

            uGUI_BuilderMenu.singleton.UpdateItems();
        }
コード例 #3
0
        public void action()
        {
            Debug.assert(args.isNullOrEmpty() || args.All(arg => arg is Type));

            if (args.isNullOrEmpty())
            {
                OptionalPatches.update();
            }
            else
            {
                args.forEach(arg => OptionalPatches.update(arg as Type));
            }
        }