EditorSceneUtils.AddSceneToBuildSettings Method

Definition

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[]

Returns

Applies to