Update ScenePartitionSOEditor.cs

This commit is contained in:
max 2023-07-16 20:27:39 +02:00
parent 6667f013bf
commit daf622f327

View File

@ -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--;
}
}
}
}
}