using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEditor; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UIElements; namespace BITKit.GameEditor { //This is a helper can make scene uncategory assets to be categorized public sealed class SceneBasedEnvironmentCategoryWindow : EditorWindow { private const string EnvironmentCategory = nameof(EnvironmentCategory); [MenuItem("Tools/Scenes/Category Window")] public static void Open() { var window = GetWindow(); window.Show(); } private Label reportLabel; private IGrouping[] group; private Button categoryButton; private void OnEnable() { Rebuild(); } private void Rebuild() { var button = rootVisualElement.Create