docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductInfoPanel

    WIP

    Inheritance
    Object
    ProductInfoPanel
    Namespace: Unity.Industrial.Forma.RuntimeUI
    Syntax
    public class ProductInfoPanel : MonoBehaviour, IProductInfoPanel

    Properties

    Transform

    Gets the transform.

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

    The transform.

    Implements
    IProductInfoPanel.Transform

    Methods

    Destroy()

    Destroys this instance.

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

    SetIcon(Texture2D)

    Sets the icon.

    Declaration
    public void SetIcon(Texture2D icon)
    Parameters
    Type Name Description
    Texture2D icon

    The icon.

    Implements
    IProductInfoPanel.SetIcon(Texture2D)

    SetModelLabel(String, String)

    Sets the model label.

    Declaration
    public void SetModelLabel(string modelLabel, string modelVersion)
    Parameters
    Type Name Description
    String modelLabel

    The model label.

    String modelVersion

    The model version.

    Implements
    IProductInfoPanel.SetModelLabel(String, String)

    SetTotalPrice(PriceInformation)

    Sets the total price.

    Declaration
    public void SetTotalPrice(PriceInformation totalPrice)
    Parameters
    Type Name Description
    PriceInformation totalPrice

    The total price.

    Implements
    IProductInfoPanel.SetTotalPrice(PriceInformation)

    Start()

    Start of info panel

    Declaration
    public void Start()
    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