docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021