Edit

Share via


EditorSceneUtils.UnloadScene(SceneInfo, Boolean) Method

Definition

Unloads a scene in the editor and catches any errors that can happen along the way.

public:
 static bool UnloadScene(Microsoft::MixedReality::Toolkit::SceneSystem::SceneInfo sceneInfo, bool removeFromHeirarchy);
public static bool UnloadScene (Microsoft.MixedReality.Toolkit.SceneSystem.SceneInfo sceneInfo, bool removeFromHeirarchy);
static member UnloadScene : Microsoft.MixedReality.Toolkit.SceneSystem.SceneInfo * bool -> bool
Public Shared Function UnloadScene (sceneInfo As SceneInfo, removeFromHeirarchy As Boolean) As Boolean

Parameters

sceneInfo
SceneInfo
removeFromHeirarchy
Boolean

Returns

Applies to