Interface IDataBuilder | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDataBuilder

    Builds objects of type IDataBuilderResult.

    Namespace: UnityEditor.AddressableAssets
    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<T>(IDataBuilderContext)

    Build the data of a specific type.

    Declaration
    T BuildData<T>(IDataBuilderContext context)where T : IDataBuilderResult
    Parameters
    Type Name Description
    IDataBuilderContext context

    The context used to build the data.

    Returns
    Type Description
    T

    The built data.

    Type Parameters
    Name Description
    T

    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()

    CreateGUI(IDataBuilderContext)

    Create a gui object.

    Declaration
    IDataBuilderGUI CreateGUI(IDataBuilderContext context)
    Parameters
    Type Name Description
    IDataBuilderContext context

    The context to use when creating the gui.

    Returns
    Type Description
    IDataBuilderGUI

    The gui object. This may be null for some builders.

    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