Files
Ipseity-Demo/Packages/OctoCore/Editor/OctoLevelGridEditor.cs
T
2026-02-09 23:53:14 +01:00

30 lines
770 B
C#

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.");
}
}
}*/
}