1
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Net.Project.B.WorldNode
|
||||
if (!searchGameObject) continue;
|
||||
hashSet.UnionWith(searchGameObject.GetComponentsInChildren<Transform>());
|
||||
}
|
||||
staticGameObjects = hashSet.Select(x => x.gameObject).ToArray();
|
||||
staticGameObjects = hashSet.Where(x=>x.gameObject.isStatic).Select(x => x.gameObject).ToArray();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user