Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.66 KB

File metadata and controls

31 lines (24 loc) · 1.66 KB

BuildUtility

static class in AdvancedSceneManager.Editor.Utility

Description

Provides functions for building, and build events.

Remarks: Only available in editor.

Static Events

Member Description
event Action<BuildUtility.PostBuildEventArgs> postBuild Occurs after build.
event Action<BuildReport> preBuild Occurs before build.

Static Methods

Member Description
void CleanupASMBuildAssets() _No documentation available._
BuildReport DoBuild(string path, bool attachProfiler, bool runGameWhenBuilt, bool dev, BuildOptions customOptions) Performs a build of the active build profile if one exists, otherwise falls back to Unity's legacy build pipeline.
BuildReport DoBuild(BuildPlayerOptions opts) Performs a build using the legacy UnityEditor.BuildPlayerOptions API.
BuildReport DoBuild(BuildPlayerWithProfileOptions options) Builds a player from a specific build profile.
IEnumerable<(EditorBuildSettingsScene, BuildUtility.Reason)> GetOrderedList() Gets an ordered list of all scenes that ASM would set in the build settings.
bool IsEnabled(string path, out BuildUtility.Reason reason) Checks if the scene at path is considered enabled for build.
bool IsIncluded(Scene scene, out BuildUtility.Reason reason) Checks if a scene is valid and included in the ASM profile.
void PrepareASMForBuild() _No documentation available._
void UpdateSceneList() Updates the scene build settings.
void UpdateSceneList(bool ignorePlayModeCheck, bool force) Updates the scene build settings from the ASM profile.