編集

次の方法で共有


RuntimeSceneUtils.GetRootGameObjectsInLoadedScenes Method

Definition

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>

Applies to