generated from max/template-unity-project
Update ScenePartitionSOEditor.cs
This commit is contained in:
parent
6667f013bf
commit
daf622f327
@ -1,4 +1,3 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
@ -92,29 +91,6 @@ public override void OnInspectorGUI()
|
||||
scenePartitionSO.LoadCell(gridId);
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUIUtils.HorizontalLine();
|
||||
|
||||
using (EditorGUIUtils.FoldoutHeaderScope foldoutGroup = new EditorGUIUtils.FoldoutHeaderScope("gridData", ref foldoutGroupEnabled))
|
||||
{
|
||||
if (!foldoutGroupEnabled) return;
|
||||
|
||||
EditorGUILayout.LabelField($"generatedSceneGrid");
|
||||
|
||||
foreach (KeyValuePair<int, GridList> item in scenePartitionSO.Data.SceneGrid.Grid)
|
||||
{
|
||||
EditorGUILayout.LongField("gridId", item.Key);
|
||||
|
||||
EditorGUI.indentLevel++;
|
||||
|
||||
foreach (ulong id in item.Value.list)
|
||||
{
|
||||
EditorGUILayout.LongField((long)id);
|
||||
}
|
||||
|
||||
EditorGUI.indentLevel--;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user