docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProductSetupPanel

    Interface IProductSetupPanel

    Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
    Syntax
    public interface IProductSetupPanel

    Properties

    ContextOptionFields

    Gets the context option fields.

    Declaration
    Dictionary<string, IContextOptionField> ContextOptionFields { get; }
    Property Value
    Type Description
    Dictionary<String, IContextOptionField>

    The context option fields.

    IsProductDropdownInteractable

    Gets or sets a value indicating whether this instance is product dropdown interactable.

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

    true if this instance is product dropdown interactable; otherwise, false.

    Transform

    Gets the transform.

    Declaration
    Transform Transform { get; }
    Property Value
    Type Description
    Transform

    The transform.

    Methods

    AddContextOptionField(IContextOptionField)

    Adds the context option field.

    Declaration
    void AddContextOptionField(IContextOptionField productOption)
    Parameters
    Type Name Description
    IContextOptionField productOption

    The product option.

    ClearOptionFields()

    Clears the option fields.

    Declaration
    void ClearOptionFields()

    Destroy()

    Destroys this instance.

    Declaration
    void Destroy()

    RemoveContextOptionField(String)

    Removes the context option field.

    Declaration
    void RemoveContextOptionField(string key)
    Parameters
    Type Name Description
    String key

    The key.

    SetCurrentProduct(Int32)

    Sets the current product.

    Declaration
    void SetCurrentProduct(int index)
    Parameters
    Type Name Description
    Int32 index

    The index.

    SetProductsView(List<String>)

    Sets the products view.

    Declaration
    void SetProductsView(List<string> products)
    Parameters
    Type Name Description
    List<String> products

    The products.

    Events

    productSelected

    Occurs when [product selected].

    Declaration
    event Action<int, string> productSelected
    Event Type
    Type Description
    Action<Int32, String>
    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