EditorSceneUtils.AddSceneToBuildSettings 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.
Adds scene to build settings.
public static bool AddSceneToBuildSettings (Microsoft.MixedReality.Toolkit.SceneSystem.SceneInfo scene, UnityEditor.EditorBuildSettingsScene[] scenes, Microsoft.MixedReality.Toolkit.Utilities.EditorSceneUtils.BuildIndexTarget buildIndexTarget = Microsoft.MixedReality.Toolkit.Utilities.EditorSceneUtils+BuildIndexTarget.None);
static member AddSceneToBuildSettings : Microsoft.MixedReality.Toolkit.SceneSystem.SceneInfo * UnityEditor.EditorBuildSettingsScene[] * Microsoft.MixedReality.Toolkit.Utilities.EditorSceneUtils.BuildIndexTarget -> bool
Public Shared Function AddSceneToBuildSettings (scene As SceneInfo, scenes As EditorBuildSettingsScene(), Optional buildIndexTarget As EditorSceneUtils.BuildIndexTarget = Microsoft.MixedReality.Toolkit.Utilities.EditorSceneUtils+BuildIndexTarget.None) As Boolean
Parameters
- scene
- SceneInfo
- scenes
- UnityEditor.EditorBuildSettingsScene[]
- buildIndexTarget
- EditorSceneUtils.BuildIndexTarget