using UnityEditor; using UnityEngine; namespace OctoCore.LevelBuilder { /*[CustomEditor(typeof(OctoLevelGrid))] public class OctoLevelGridEditor : Editor { public override void OnInspectorGUI() { DrawDefaultInspector(); OctoLevelGrid grid = (OctoLevelGrid)target; EditorGUILayout.Space(10); if (GUILayout.Button("Rebuild All Tiles")) { grid.RebuildAllTiles(); Debug.Log("[OctoLevelGrid] All tiles rebuilt."); } if (GUILayout.Button("Update All Wall Shapes")) { grid.UpdateAllWallShapes(); Debug.Log("[OctoLevelGrid] All wall shapes updated."); } } }*/ }