namespaces

This commit is contained in:
max 2023-07-03 00:47:53 +02:00
parent d225f897ba
commit 6f600c38ab
2 changed files with 44 additions and 42 deletions

View File

@ -1,10 +1,11 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using VertexColor.ScenePartition.Editor;
[InitializeOnLoad] namespace VertexColor.ScenePartition.Editor
public class ScenePartitionSceneViewEditor : Editor
{ {
[InitializeOnLoad]
public class ScenePartitionSceneViewEditor : UnityEditor.Editor
{
private const int cellSize = 10; private const int cellSize = 10;
static ScenePartitionSceneViewEditor() static ScenePartitionSceneViewEditor()
@ -65,5 +66,6 @@ private static void Load(object gridId)
if (gridId is not int gridPos) return; if (gridId is not int gridPos) return;
}
} }
} }

View File

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
namespace VertexColor.ScenePartition.Editor namespace VertexColor.ScenePartition
{ {
[System.Serializable] [System.Serializable]
public class SceneGrid public class SceneGrid