RuntimeSceneUtils.GetRootGameObjectsInLoadedScenes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all root GameObjects in all loaded scenes.
public:
static System::Collections::Generic::IEnumerable<UnityEngine::GameObject ^> ^ GetRootGameObjectsInLoadedScenes();
public static System.Collections.Generic.IEnumerable<UnityEngine.GameObject> GetRootGameObjectsInLoadedScenes ();
static member GetRootGameObjectsInLoadedScenes : unit -> seq<UnityEngine.GameObject>
Public Shared Iterator Function GetRootGameObjectsInLoadedScenes () As IEnumerable(Of GameObject)
Returns
IEnumerable<UnityEngine.GameObject>