EditorSceneUtils.GetRootGameObjectsInLoadedScenes Method

Definition

Returns all root GameObjects in all open 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>

Applies to