generated from max/template-unity-project
	Update ScenePartitionSOEditor.cs
This commit is contained in:
		@@ -1,4 +1,3 @@
 | 
				
			|||||||
using System.Collections.Generic;
 | 
					 | 
				
			||||||
using UnityEditor;
 | 
					using UnityEditor;
 | 
				
			||||||
using UnityEngine;
 | 
					using UnityEngine;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -92,29 +91,6 @@ namespace VertexColor.ScenePartition.Editor
 | 
				
			|||||||
                            scenePartitionSO.LoadCell(gridId);
 | 
					                            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--;
 | 
					 | 
				
			||||||
                        }
 | 
					 | 
				
			||||||
                    }
 | 
					 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user