Class BuildUtility | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class BuildUtility

    Utility class for the Addressables Build Content process.

    Inheritance
    Object
    BuildUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    public class BuildUtility

    Methods

    CheckModifiedScenesAndAskToSave()

    Used during the build to check for unsaved scenes and provide a user popup if there are any.

    Declaration
    public static bool CheckModifiedScenesAndAskToSave()
    Returns
    Type Description
    Boolean

    True if there were no unsaved scenes, or if user hits "Save and Continue" on popup. False if any scenes were unsaved, and user hits "Cancel" on popup.

    GetNameWithHashNaming(BundledAssetGroupSchema.BundleNamingStyle, String, String)

    Declaration
    public static string GetNameWithHashNaming(BundledAssetGroupSchema.BundleNamingStyle schemaBundleNaming, string hash, string sourceBundleName)
    Parameters
    Type Name Description
    BundledAssetGroupSchema.BundleNamingStyle schemaBundleNaming
    String hash
    String sourceBundleName
    Returns
    Type Description
    String

    IsEditorAssembly(Assembly)

    Declaration
    public static bool IsEditorAssembly(Assembly assembly)
    Parameters
    Type Name Description
    Assembly assembly
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023