Example #1
0
 // Token: 0x0600355C RID: 13660 RVA: 0x00163FAE File Offset: 0x001623AE
 private static void onClickedVehiclesButton(SleekButton button)
 {
     EditorSpawnsAnimalsUI.close();
     EditorSpawnsItemsUI.close();
     EditorSpawnsZombiesUI.close();
     EditorSpawnsVehiclesUI.open();
 }
 private static void onClickItemButton(SleekButton button)
 {
     if ((int)EditorSpawns.selectedItem < LevelItems.tables.Count)
     {
         EditorSpawnsItemsUI.selectItem = (byte)((button.positionOffset_Y - 170 - EditorSpawnsItemsUI.tierButtons.Length * 70 - 80) / 40);
         EditorSpawnsItemsUI.updateSelection();
     }
 }
 private static void onClickedRemoveTierButton(SleekButton button)
 {
     if ((int)EditorSpawns.selectedItem < LevelItems.tables.Count && (int)EditorSpawnsItemsUI.selectedTier < LevelItems.tables[(int)EditorSpawns.selectedItem].tiers.Count)
     {
         LevelItems.tables[(int)EditorSpawns.selectedItem].removeTier((int)EditorSpawnsItemsUI.selectedTier);
         EditorSpawnsItemsUI.updateSelection();
     }
 }
 private static void onClickedRemoveItemButton(SleekButton button)
 {
     if ((int)EditorSpawns.selectedItem < LevelItems.tables.Count && (int)EditorSpawnsItemsUI.selectedTier < LevelItems.tables[(int)EditorSpawns.selectedItem].tiers.Count && (int)EditorSpawnsItemsUI.selectItem < LevelItems.tables[(int)EditorSpawns.selectedItem].tiers[(int)EditorSpawnsItemsUI.selectedTier].table.Count)
     {
         LevelItems.tables[(int)EditorSpawns.selectedItem].removeItem(EditorSpawnsItemsUI.selectedTier, EditorSpawnsItemsUI.selectItem);
         EditorSpawnsItemsUI.updateSelection();
         EditorSpawnsItemsUI.spawnsScrollBox.state = new Vector2(0f, float.MaxValue);
     }
 }
 private static void onClickedAddTierButton(SleekButton button)
 {
     if ((int)EditorSpawns.selectedItem < LevelItems.tables.Count && EditorSpawnsItemsUI.tierNameField.text != string.Empty)
     {
         LevelItems.tables[(int)EditorSpawns.selectedItem].addTier(EditorSpawnsItemsUI.tierNameField.text);
         EditorSpawnsItemsUI.tierNameField.text = string.Empty;
         EditorSpawnsItemsUI.updateSelection();
     }
 }
 private static void onClickedRemoveTableButton(SleekButton button)
 {
     if ((int)EditorSpawns.selectedItem < LevelItems.tables.Count)
     {
         LevelItems.removeTable();
         EditorSpawnsItemsUI.updateTables();
         EditorSpawnsItemsUI.updateSelection();
         EditorSpawnsItemsUI.tableScrollBox.state = new Vector2(0f, float.MaxValue);
     }
 }
 private static void onClickedAddTableButton(SleekButton button)
 {
     if (EditorSpawnsItemsUI.tableNameField.text != string.Empty)
     {
         LevelItems.addTable(EditorSpawnsItemsUI.tableNameField.text);
         EditorSpawnsItemsUI.tableNameField.text = string.Empty;
         EditorSpawnsItemsUI.updateTables();
         EditorSpawnsItemsUI.tableScrollBox.state = new Vector2(0f, float.MaxValue);
     }
 }
Example #8
0
 // Token: 0x06003558 RID: 13656 RVA: 0x00163F20 File Offset: 0x00162320
 public static void close()
 {
     if (!EditorSpawnsUI.active)
     {
         return;
     }
     EditorSpawnsUI.active = false;
     EditorSpawnsItemsUI.close();
     EditorSpawnsAnimalsUI.close();
     EditorSpawnsZombiesUI.close();
     EditorSpawnsVehiclesUI.close();
     EditorSpawnsUI.container.lerpPositionScale(1f, 0f, ESleekLerp.EXPONENTIAL, 20f);
 }
 private static void onClickedAddItemButton(SleekButton button)
 {
     if ((int)EditorSpawns.selectedItem < LevelItems.tables.Count && (int)EditorSpawnsItemsUI.selectedTier < LevelItems.tables[(int)EditorSpawns.selectedItem].tiers.Count)
     {
         ItemAsset itemAsset = (ItemAsset)Assets.find(EAssetType.ITEM, EditorSpawnsItemsUI.itemIDField.state);
         if (itemAsset != null && !itemAsset.isPro)
         {
             LevelItems.tables[(int)EditorSpawns.selectedItem].addItem(EditorSpawnsItemsUI.selectedTier, EditorSpawnsItemsUI.itemIDField.state);
             EditorSpawnsItemsUI.updateSelection();
             EditorSpawnsItemsUI.spawnsScrollBox.state = new Vector2(0f, float.MaxValue);
         }
         EditorSpawnsItemsUI.itemIDField.state = 0;
     }
 }
 private static void onClickedTableButton(SleekButton button)
 {
     if (EditorSpawns.selectedItem != (byte)(button.positionOffset_Y / 40))
     {
         EditorSpawns.selectedItem = (byte)(button.positionOffset_Y / 40);
         EditorSpawns.itemSpawn.GetComponent <Renderer>().material.color = LevelItems.tables[(int)EditorSpawns.selectedItem].color;
     }
     else
     {
         EditorSpawns.selectedItem = byte.MaxValue;
         EditorSpawns.itemSpawn.GetComponent <Renderer>().material.color = Color.white;
     }
     EditorSpawnsItemsUI.updateSelection();
 }
 private static void onClickedTierButton(SleekButton button)
 {
     if ((int)EditorSpawns.selectedItem < LevelItems.tables.Count)
     {
         if (EditorSpawnsItemsUI.selectedTier != (byte)((button.positionOffset_Y - 170) / 70))
         {
             EditorSpawnsItemsUI.selectedTier = (byte)((button.positionOffset_Y - 170) / 70);
         }
         else
         {
             EditorSpawnsItemsUI.selectedTier = byte.MaxValue;
         }
         EditorSpawnsItemsUI.updateSelection();
     }
 }
        public EditorSpawnsItemsUI()
        {
            Local  local  = Localization.read("/Editor/EditorSpawnsItems.dat");
            Bundle bundle = Bundles.getBundle("/Bundles/Textures/Edit/Icons/EditorSpawnsItems/EditorSpawnsItems.unity3d");

            EditorSpawnsItemsUI.container = new Sleek();
            EditorSpawnsItemsUI.container.positionOffset_X = 10;
            EditorSpawnsItemsUI.container.positionOffset_Y = 10;
            EditorSpawnsItemsUI.container.positionScale_X  = 1f;
            EditorSpawnsItemsUI.container.sizeOffset_X     = -20;
            EditorSpawnsItemsUI.container.sizeOffset_Y     = -20;
            EditorSpawnsItemsUI.container.sizeScale_X      = 1f;
            EditorSpawnsItemsUI.container.sizeScale_Y      = 1f;
            EditorUI.window.add(EditorSpawnsItemsUI.container);
            EditorSpawnsItemsUI.active         = false;
            EditorSpawnsItemsUI.tableScrollBox = new SleekScrollBox();
            EditorSpawnsItemsUI.tableScrollBox.positionOffset_X = -470;
            EditorSpawnsItemsUI.tableScrollBox.positionOffset_Y = 120;
            EditorSpawnsItemsUI.tableScrollBox.positionScale_X  = 1f;
            EditorSpawnsItemsUI.tableScrollBox.sizeOffset_X     = 470;
            EditorSpawnsItemsUI.tableScrollBox.sizeOffset_Y     = 200;
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.tableScrollBox);
            EditorSpawnsItemsUI.tableNameField = new SleekField();
            EditorSpawnsItemsUI.tableNameField.positionOffset_X = -230;
            EditorSpawnsItemsUI.tableNameField.positionOffset_Y = 330;
            EditorSpawnsItemsUI.tableNameField.positionScale_X  = 1f;
            EditorSpawnsItemsUI.tableNameField.sizeOffset_X     = 230;
            EditorSpawnsItemsUI.tableNameField.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.tableNameField.maxLength        = 64;
            EditorSpawnsItemsUI.tableNameField.addLabel(local.format("TableNameFieldLabelText"), ESleekSide.LEFT);
            SleekField sleekField = EditorSpawnsItemsUI.tableNameField;
            Delegate   onTyped    = sleekField.onTyped;

            if (EditorSpawnsItemsUI.< > f__mg$cache4 == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cache4 = new Typed(EditorSpawnsItemsUI.onTypedTableNameField);
            }
            sleekField.onTyped = (Typed)Delegate.Combine(onTyped, EditorSpawnsItemsUI.< > f__mg$cache4);
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.tableNameField);
            EditorSpawnsItemsUI.addTableButton = new SleekButtonIcon((Texture2D)bundle.load("Add"));
            EditorSpawnsItemsUI.addTableButton.positionOffset_X = -230;
            EditorSpawnsItemsUI.addTableButton.positionOffset_Y = 370;
            EditorSpawnsItemsUI.addTableButton.positionScale_X  = 1f;
            EditorSpawnsItemsUI.addTableButton.sizeOffset_X     = 110;
            EditorSpawnsItemsUI.addTableButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.addTableButton.text             = local.format("AddTableButtonText");
            EditorSpawnsItemsUI.addTableButton.tooltip          = local.format("AddTableButtonTooltip");
            SleekButton sleekButton = EditorSpawnsItemsUI.addTableButton;

            if (EditorSpawnsItemsUI.< > f__mg$cache5 == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cache5 = new ClickedButton(EditorSpawnsItemsUI.onClickedAddTableButton);
            }
            sleekButton.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cache5;
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.addTableButton);
            EditorSpawnsItemsUI.removeTableButton = new SleekButtonIcon((Texture2D)bundle.load("Remove"));
            EditorSpawnsItemsUI.removeTableButton.positionOffset_X = -110;
            EditorSpawnsItemsUI.removeTableButton.positionOffset_Y = 370;
            EditorSpawnsItemsUI.removeTableButton.positionScale_X  = 1f;
            EditorSpawnsItemsUI.removeTableButton.sizeOffset_X     = 110;
            EditorSpawnsItemsUI.removeTableButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.removeTableButton.text             = local.format("RemoveTableButtonText");
            EditorSpawnsItemsUI.removeTableButton.tooltip          = local.format("RemoveTableButtonTooltip");
            SleekButton sleekButton2 = EditorSpawnsItemsUI.removeTableButton;

            if (EditorSpawnsItemsUI.< > f__mg$cache6 == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cache6 = new ClickedButton(EditorSpawnsItemsUI.onClickedRemoveTableButton);
            }
            sleekButton2.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cache6;
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.removeTableButton);
            EditorSpawnsItemsUI.updateTables();
            EditorSpawnsItemsUI.spawnsScrollBox = new SleekScrollBox();
            EditorSpawnsItemsUI.spawnsScrollBox.positionOffset_X = -470;
            EditorSpawnsItemsUI.spawnsScrollBox.positionOffset_Y = 410;
            EditorSpawnsItemsUI.spawnsScrollBox.positionScale_X  = 1f;
            EditorSpawnsItemsUI.spawnsScrollBox.sizeOffset_X     = 470;
            EditorSpawnsItemsUI.spawnsScrollBox.sizeOffset_Y     = -410;
            EditorSpawnsItemsUI.spawnsScrollBox.sizeScale_Y      = 1f;
            EditorSpawnsItemsUI.spawnsScrollBox.area             = new Rect(0f, 0f, 5f, 1000f);
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.spawnsScrollBox);
            EditorSpawnsItemsUI.tableColorPicker = new SleekColorPicker();
            EditorSpawnsItemsUI.tableColorPicker.positionOffset_X = 200;
            SleekColorPicker sleekColorPicker = EditorSpawnsItemsUI.tableColorPicker;

            if (EditorSpawnsItemsUI.< > f__mg$cache7 == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cache7 = new ColorPicked(EditorSpawnsItemsUI.onItemColorPicked);
            }
            sleekColorPicker.onColorPicked = EditorSpawnsItemsUI.< > f__mg$cache7;
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.tableColorPicker);
            EditorSpawnsItemsUI.tableIDField = new SleekUInt16Field();
            EditorSpawnsItemsUI.tableIDField.positionOffset_X = 240;
            EditorSpawnsItemsUI.tableIDField.positionOffset_Y = 130;
            EditorSpawnsItemsUI.tableIDField.sizeOffset_X     = 200;
            EditorSpawnsItemsUI.tableIDField.sizeOffset_Y     = 30;
            SleekUInt16Field sleekUInt16Field = EditorSpawnsItemsUI.tableIDField;

            if (EditorSpawnsItemsUI.< > f__mg$cache8 == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cache8 = new TypedUInt16(EditorSpawnsItemsUI.onTableIDFieldTyped);
            }
            sleekUInt16Field.onTypedUInt16 = EditorSpawnsItemsUI.< > f__mg$cache8;
            EditorSpawnsItemsUI.tableIDField.addLabel(local.format("TableIDFieldLabelText"), ESleekSide.LEFT);
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.tableIDField);
            EditorSpawnsItemsUI.tierNameField = new SleekField();
            EditorSpawnsItemsUI.tierNameField.positionOffset_X = 240;
            EditorSpawnsItemsUI.tierNameField.sizeOffset_X     = 200;
            EditorSpawnsItemsUI.tierNameField.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.tierNameField.maxLength        = 64;
            EditorSpawnsItemsUI.tierNameField.addLabel(local.format("TierNameFieldLabelText"), ESleekSide.LEFT);
            SleekField sleekField2 = EditorSpawnsItemsUI.tierNameField;

            if (EditorSpawnsItemsUI.< > f__mg$cache9 == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cache9 = new Typed(EditorSpawnsItemsUI.onTypedTierNameField);
            }
            sleekField2.onTyped = EditorSpawnsItemsUI.< > f__mg$cache9;
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.tierNameField);
            EditorSpawnsItemsUI.addTierButton = new SleekButtonIcon((Texture2D)bundle.load("Add"));
            EditorSpawnsItemsUI.addTierButton.positionOffset_X = 240;
            EditorSpawnsItemsUI.addTierButton.sizeOffset_X     = 95;
            EditorSpawnsItemsUI.addTierButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.addTierButton.text             = local.format("AddTierButtonText");
            EditorSpawnsItemsUI.addTierButton.tooltip          = local.format("AddTierButtonTooltip");
            SleekButton sleekButton3 = EditorSpawnsItemsUI.addTierButton;

            if (EditorSpawnsItemsUI.< > f__mg$cacheA == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cacheA = new ClickedButton(EditorSpawnsItemsUI.onClickedAddTierButton);
            }
            sleekButton3.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cacheA;
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.addTierButton);
            EditorSpawnsItemsUI.removeTierButton = new SleekButtonIcon((Texture2D)bundle.load("Remove"));
            EditorSpawnsItemsUI.removeTierButton.positionOffset_X = 345;
            EditorSpawnsItemsUI.removeTierButton.sizeOffset_X     = 95;
            EditorSpawnsItemsUI.removeTierButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.removeTierButton.text             = local.format("RemoveTierButtonText");
            EditorSpawnsItemsUI.removeTierButton.tooltip          = local.format("RemoveTierButtonTooltip");
            SleekButton sleekButton4 = EditorSpawnsItemsUI.removeTierButton;

            if (EditorSpawnsItemsUI.< > f__mg$cacheB == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cacheB = new ClickedButton(EditorSpawnsItemsUI.onClickedRemoveTierButton);
            }
            sleekButton4.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cacheB;
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.removeTierButton);
            EditorSpawnsItemsUI.itemIDField = new SleekUInt16Field();
            EditorSpawnsItemsUI.itemIDField.positionOffset_X = 240;
            EditorSpawnsItemsUI.itemIDField.sizeOffset_X     = 200;
            EditorSpawnsItemsUI.itemIDField.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.itemIDField.addLabel(local.format("ItemIDFieldLabelText"), ESleekSide.LEFT);
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.itemIDField);
            EditorSpawnsItemsUI.addItemButton = new SleekButtonIcon((Texture2D)bundle.load("Add"));
            EditorSpawnsItemsUI.addItemButton.positionOffset_X = 240;
            EditorSpawnsItemsUI.addItemButton.sizeOffset_X     = 95;
            EditorSpawnsItemsUI.addItemButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.addItemButton.text             = local.format("AddItemButtonText");
            EditorSpawnsItemsUI.addItemButton.tooltip          = local.format("AddItemButtonTooltip");
            SleekButton sleekButton5 = EditorSpawnsItemsUI.addItemButton;

            if (EditorSpawnsItemsUI.< > f__mg$cacheC == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cacheC = new ClickedButton(EditorSpawnsItemsUI.onClickedAddItemButton);
            }
            sleekButton5.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cacheC;
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.addItemButton);
            EditorSpawnsItemsUI.removeItemButton = new SleekButtonIcon((Texture2D)bundle.load("Remove"));
            EditorSpawnsItemsUI.removeItemButton.positionOffset_X = 345;
            EditorSpawnsItemsUI.removeItemButton.sizeOffset_X     = 95;
            EditorSpawnsItemsUI.removeItemButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.removeItemButton.text             = local.format("RemoveItemButtonText");
            EditorSpawnsItemsUI.removeItemButton.tooltip          = local.format("RemoveItemButtonTooltip");
            SleekButton sleekButton6 = EditorSpawnsItemsUI.removeItemButton;

            if (EditorSpawnsItemsUI.< > f__mg$cacheD == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cacheD = new ClickedButton(EditorSpawnsItemsUI.onClickedRemoveItemButton);
            }
            sleekButton6.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cacheD;
            EditorSpawnsItemsUI.spawnsScrollBox.add(EditorSpawnsItemsUI.removeItemButton);
            EditorSpawnsItemsUI.selectedBox = new SleekBox();
            EditorSpawnsItemsUI.selectedBox.positionOffset_X = -230;
            EditorSpawnsItemsUI.selectedBox.positionOffset_Y = 80;
            EditorSpawnsItemsUI.selectedBox.positionScale_X  = 1f;
            EditorSpawnsItemsUI.selectedBox.sizeOffset_X     = 230;
            EditorSpawnsItemsUI.selectedBox.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.selectedBox.addLabel(local.format("SelectionBoxLabelText"), ESleekSide.LEFT);
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.selectedBox);
            EditorSpawnsItemsUI.updateSelection();
            EditorSpawnsItemsUI.radiusSlider = new SleekSlider();
            EditorSpawnsItemsUI.radiusSlider.positionOffset_Y = -100;
            EditorSpawnsItemsUI.radiusSlider.positionScale_Y  = 1f;
            EditorSpawnsItemsUI.radiusSlider.sizeOffset_X     = 200;
            EditorSpawnsItemsUI.radiusSlider.sizeOffset_Y     = 20;
            EditorSpawnsItemsUI.radiusSlider.state            = (float)(EditorSpawns.radius - EditorSpawns.MIN_REMOVE_SIZE) / (float)EditorSpawns.MAX_REMOVE_SIZE;
            EditorSpawnsItemsUI.radiusSlider.orientation      = ESleekOrientation.HORIZONTAL;
            EditorSpawnsItemsUI.radiusSlider.addLabel(local.format("RadiusSliderLabelText"), ESleekSide.RIGHT);
            SleekSlider sleekSlider = EditorSpawnsItemsUI.radiusSlider;

            if (EditorSpawnsItemsUI.< > f__mg$cacheE == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cacheE = new Dragged(EditorSpawnsItemsUI.onDraggedRadiusSlider);
            }
            sleekSlider.onDragged = EditorSpawnsItemsUI.< > f__mg$cacheE;
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.radiusSlider);
            EditorSpawnsItemsUI.addButton = new SleekButtonIcon((Texture2D)bundle.load("Add"));
            EditorSpawnsItemsUI.addButton.positionOffset_Y = -70;
            EditorSpawnsItemsUI.addButton.positionScale_Y  = 1f;
            EditorSpawnsItemsUI.addButton.sizeOffset_X     = 200;
            EditorSpawnsItemsUI.addButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.addButton.text             = local.format("AddButtonText", new object[]
            {
                ControlsSettings.tool_0
            });
            EditorSpawnsItemsUI.addButton.tooltip = local.format("AddButtonTooltip");
            SleekButton sleekButton7 = EditorSpawnsItemsUI.addButton;

            if (EditorSpawnsItemsUI.< > f__mg$cacheF == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cacheF = new ClickedButton(EditorSpawnsItemsUI.onClickedAddButton);
            }
            sleekButton7.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cacheF;
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.addButton);
            EditorSpawnsItemsUI.removeButton = new SleekButtonIcon((Texture2D)bundle.load("Remove"));
            EditorSpawnsItemsUI.removeButton.positionOffset_Y = -30;
            EditorSpawnsItemsUI.removeButton.positionScale_Y  = 1f;
            EditorSpawnsItemsUI.removeButton.sizeOffset_X     = 200;
            EditorSpawnsItemsUI.removeButton.sizeOffset_Y     = 30;
            EditorSpawnsItemsUI.removeButton.text             = local.format("RemoveButtonText", new object[]
            {
                ControlsSettings.tool_1
            });
            EditorSpawnsItemsUI.removeButton.tooltip = local.format("RemoveButtonTooltip");
            SleekButton sleekButton8 = EditorSpawnsItemsUI.removeButton;

            if (EditorSpawnsItemsUI.< > f__mg$cache10 == null)
            {
                EditorSpawnsItemsUI.< > f__mg$cache10 = new ClickedButton(EditorSpawnsItemsUI.onClickedRemoveButton);
            }
            sleekButton8.onClickedButton = EditorSpawnsItemsUI.< > f__mg$cache10;
            EditorSpawnsItemsUI.container.add(EditorSpawnsItemsUI.removeButton);
            bundle.unload();
        }