docs.unity3d.com
    Show / Hide Table of Contents

    Class BuildScriptBase

    Base class for build script assets

    Inheritance
    Object
    Object
    ScriptableObject
    BuildScriptBase
    BuildScriptFastMode
    BuildScriptPackedMode
    BuildScriptPackedPlayMode
    BuildScriptVirtualMode
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build.DataBuilders
    Syntax
    public class BuildScriptBase : ScriptableObject, IDataBuilder

    Fields

    Name Description
    instanceProviderType

    The type of instance provider to create for the Addressables system.

    sceneProviderType

    The type of scene provider to create for the addressables system.

    Properties

    Name Description
    Log

    Stores the logged information of all the build tasks.

    Name

    The descriptive name used in the UI.

    Methods

    Name Description
    BuildData<TResult>(AddressablesDataBuilderInput)

    Build the specified data with the provided builderInput. This is the public entry point. Child class overrides should use BuildDataImplementation<TResult>(AddressablesDataBuilderInput)

    BuildDataImplementation<TResult>(AddressablesDataBuilderInput)

    The implementation of BuildData<TResult>(AddressablesDataBuilderInput). That is the public entry point, this is the home for child class overrides.

    CanBuildData<T>()

    Used to determine if this builder is capable of building a specific type of data.

    ClearCachedData()

    Used to clean up any cached data created by this builder.

    CreateLocationsForPlayerData(PlayerDataGroupSchema, AddressableAssetGroup, List<ContentCatalogDataEntry>, HashSet<Type>)

    Utility method for creating locations from player data.

    DeleteFile(String)

    Utility method for deleting files.

    IsDataBuilt()

    Checks to see if the data is built for the given builder.

    ProcessAllGroups(AddressableAssetsBuildContext)

    Loops over each group, after doing some data checking.

    ProcessGroup(AddressableAssetGroup, AddressableAssetsBuildContext)

    Build processing of an individual group.

    WriteFile(String, String, FileRegistry)

    Utility method to write a file. The directory will be created if it does not exist.

    Back to top
    Terms of use
    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