EditorSceneUtils.UnloadScene(SceneInfo, Boolean) 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.
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