docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductDefinition

    Class ProductDefinition.

    Inheritance
    Object
    Object
    ScriptableObject
    ProductDefinition
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.Industrial.Configuring.Core
    Syntax
    [CreateAssetMenu(menuName = "Forma/Product Definition", fileName = "Product Definition", order = 10)]
    public class ProductDefinition : ScriptableObject

    Fields

    label

    The label

    Declaration
    [SerializeField]
    public string label
    Field Value
    Type Description
    String

    profiles

    The profiles

    Declaration
    [SerializeField]
    public List<ProductVariantProfile> profiles
    Field Value
    Type Description
    List<ProductVariantProfile>

    Properties

    DefaultThumbnail

    Gets the default thumbnail.

    Declaration
    public Texture2D DefaultThumbnail { get; }
    Property Value
    Type Description
    Texture2D

    The default thumbnail.

    LabelOrDefault

    Gets the label or default.

    Declaration
    public string LabelOrDefault { get; }
    Property Value
    Type Description
    String

    The label or default.

    Methods

    GetProductReference(Product)

    Gets the product reference.

    Declaration
    public ProductProfileReference GetProductReference(Product product)
    Parameters
    Type Name Description
    Product product

    The product.

    Returns
    Type Description
    ProductProfileReference

    ProductProfileReference.

    GetProductReference(ProductVariantProfile)

    Gets the product reference.

    Declaration
    public ProductProfileReference GetProductReference(ProductVariantProfile profile)
    Parameters
    Type Name Description
    ProductVariantProfile profile

    The profile.

    Returns
    Type Description
    ProductProfileReference

    ProductProfileReference.

    GetProfileForProduct(Product)

    Gets the profile for product.

    Declaration
    public ProductVariantProfile GetProfileForProduct(Product product)
    Parameters
    Type Name Description
    Product product

    The product.

    Returns
    Type Description
    ProductVariantProfile

    ProductVariantProfile.

    Events

    anyProductDefinitionChanged

    Occurs when [any product definition changed].

    Declaration
    public static event Action<ProductDefintionChangeArgs> anyProductDefinitionChanged
    Event Type
    Type Description
    Action<ProductDefintionChangeArgs>
    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