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); } }