mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-12 23:06:56 +08:00
More progress
This commit is contained in:
@ -35,22 +35,6 @@ namespace UnityExplorer
|
||||
return;
|
||||
}
|
||||
|
||||
// TEMP DEBUG TEST FOR TRANSFORM TREE
|
||||
|
||||
var stressTest = new GameObject("StressTest");
|
||||
for (int i = 0; i < 100; i++)
|
||||
{
|
||||
var obj = new GameObject($"Parent_{i}");
|
||||
obj.transform.parent = stressTest.transform;
|
||||
for (int j = 0; j < 100; j++)
|
||||
{
|
||||
var obj2 = new GameObject($"Child_{j}");
|
||||
obj2.transform.parent = obj.transform;
|
||||
}
|
||||
}
|
||||
|
||||
// END
|
||||
|
||||
Loader = loader;
|
||||
|
||||
if (!Directory.Exists(Loader.ExplorerFolder))
|
||||
@ -81,8 +65,24 @@ namespace UnityExplorer
|
||||
|
||||
UIManager.InitUI();
|
||||
|
||||
InspectorManager.Inspect(typeof(TestClass));
|
||||
//InspectorManager.Inspect(UIManager.CanvasRoot.gameObject.GetComponent<GraphicRaycaster>());
|
||||
// TEMP DEBUG TEST FOR TRANSFORM TREE
|
||||
|
||||
var stressTest = new GameObject("StressTest");
|
||||
for (int i = 0; i < 100; i++)
|
||||
{
|
||||
var obj = new GameObject($"Parent_{i}");
|
||||
obj.transform.parent = stressTest.transform;
|
||||
for (int j = 0; j < 100; j++)
|
||||
{
|
||||
var obj2 = new GameObject($"Child_{j}");
|
||||
obj2.transform.parent = obj.transform;
|
||||
}
|
||||
}
|
||||
|
||||
// END
|
||||
|
||||
//InspectorManager.Inspect(typeof(TestClass));
|
||||
InspectorManager.Inspect(UIManager.CanvasRoot.gameObject.GetComponent<GraphicRaycaster>());
|
||||
//InspectorManager.InspectType(typeof(ReflectionUtility));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user