OctoCore 0.0.1
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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.");
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user