Expose a method to retrieve all root game objects in the scene
Genesis
Scene.GetRootGameObjects() is not exposed so it would be great if there was an alternative static method provided that returns an array of the root GameObjects in the scene.
For example:
GameObject[] rootGameObjects = new GameObject[VRCScene.rootCount];
VRCScene.GetRootGameObjects(rootGameObjects);
or simply:
GameObject[] rootGameObjects = VRCScene.GetRootGameObjects();
Log In