This commit is contained in:
CortexCore
2025-06-26 23:34:50 +08:00
parent a772331918
commit 1e4643f20f
15 changed files with 318 additions and 17 deletions

View File

@@ -38,6 +38,10 @@ namespace Net.Project.B.WorldNode
{
staticGameObjects = GetComponentsInChildren<Transform>().Where(x=>x.gameObject.isStatic).Select(x=>x.gameObject).ToArray();
}
#if UNITY_EDITOR
UnityEditor.EditorUtility.SetDirty(this);
#endif
Debug.Log($"已获取到{staticGameObjects.Length}个物体");
}