Class BuildUtility | Addressables | 1.12.0
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 17 July 2020