docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductSetupPanel

    Class ProductSetupPanel.

    Inheritance
    Object
    ProductSetupPanel
    Namespace: Unity.Industrial.Forma.RuntimeUI
    Syntax
    public class ProductSetupPanel : MonoBehaviour, IProductSetupPanel

    Properties

    ContextOptionFields

    Gets the context option fields.

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

    The context option fields.

    Implements
    IProductSetupPanel.ContextOptionFields

    IsProductDropdownInteractable

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

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

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

    Implements
    IProductSetupPanel.IsProductDropdownInteractable

    Transform

    Gets the transform.

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

    The transform.

    Implements
    IProductSetupPanel.Transform

    Methods

    AddContextOptionField(IContextOptionField)

    Adds the context option field.

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

    The product option.

    Implements
    IProductSetupPanel.AddContextOptionField(IContextOptionField)

    ClearOptionFields()

    Clears the option fields.

    Declaration
    public void ClearOptionFields()
    Implements
    IProductSetupPanel.ClearOptionFields()

    Destroy()

    Destroys this instance.

    Declaration
    public void Destroy()
    Implements
    IProductSetupPanel.Destroy()

    RemoveContextOptionField(String)

    Removes the context option field.

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

    The key.

    Implements
    IProductSetupPanel.RemoveContextOptionField(String)

    SetCurrentProduct(Int32)

    Sets the current product.

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

    The index.

    Implements
    IProductSetupPanel.SetCurrentProduct(Int32)

    SetProductSelected(String)

    Sets the product selected.

    Declaration
    public void SetProductSelected(string selectedProduct)
    Parameters
    Type Name Description
    String selectedProduct

    The selected product.

    SetProductsView(List<String>)

    Sets the products view.

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

    The products.

    Implements
    IProductSetupPanel.SetProductsView(List<String>)

    Events

    productSelected

    Occurs when [product selected].

    Declaration
    public event Action<int, string> productSelected
    Event Type
    Type Description
    Action<Int32, String>
    Implements
    IProductSetupPanel.productSelected
    Back to top
    Terms of use
    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