Interface IDataBuilder | Package Manager UI website
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
    System.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
    System.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 © 2019 Unity Technologies
    Generated by DocFX