docs.unity3d.com
    Show / Hide Table of Contents

    Interface IPublisher

    Publisher interface

    Namespace: UnityEditor.Industrial.Configuring.UI
    Syntax
    public interface IPublisher

    Properties

    displayName

    The Publisher's name

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

    selected

    Indicates if the Publisher is selected for publishing

    Declaration
    bool selected { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    AddSettings(VisualElement)

    Build target custom UI settings.

    Declaration
    void AddSettings(VisualElement settings)
    Parameters
    Type Name Description
    VisualElement settings

    CanPublish()

    Check if the Publish can publish.

    Declaration
    bool CanPublish()
    Returns
    Type Description
    Boolean

    Initialize(BuildProfile)

    Initialize the build target with current build profile.

    Declaration
    void Initialize(BuildProfile buildProfile)
    Parameters
    Type Name Description
    BuildProfile buildProfile

    PreBuild(Configurator)

    Called before Build() and uses the configurator from the "Configurator Scenes" listed in the build profile. This can be useful if you need to tell the configurator where to load its products.

    Declaration
    void PreBuild(Configurator configurator)
    Parameters
    Type Name Description
    Configurator configurator

    Publish()

    Publish to user-defined content holder.

    Declaration
    bool Publish()
    Returns
    Type Description
    Boolean
    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