Interface IDataBuilder | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDataBuilder

    Builds objects of type IDataBuilderResult.

    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    public interface IDataBuilder

    Properties

    Name

    The name of the builder, used for GUI.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    String

    Methods

    BuildData<TResult>(AddressablesDataBuilderInput)

    Build the data of a specific type.

    Declaration
    TResult BuildData<TResult>(AddressablesDataBuilderInput builderInput)
        where TResult : IDataBuilderResult
    Parameters
    Type Name Description
    AddressablesDataBuilderInput builderInput

    The builderInput used to build the data.

    Returns
    Type Description
    TResult

    The built data.

    Type Parameters
    Name Description
    TResult

    The data type.

    CanBuildData<T>()

    Can this builder build the type of data requested.

    Declaration
    bool CanBuildData<T>()
        where T : IDataBuilderResult
    Returns
    Type Description
    Boolean

    True if the build can build it.

    Type Parameters
    Name Description
    T

    The data type.

    ClearCachedData()

    Clears all cached data.

    Declaration
    void ClearCachedData()
    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