Class ProductProfileReference
Represents the information for a single product variant
Namespace: UnityEngine.Industrial.Configuring.ConfiguratorRuntime
Syntax
[Serializable]
public class ProductProfileReference
Constructors
ProductProfileReference()
Initializes a new instance of the ProductProfileReference class.
Declaration
public ProductProfileReference()
ProductProfileReference(ProductVariantProfile, ProductDefinition)
Initializes a new instance of the ProductProfileReference class.
Declaration
public ProductProfileReference(ProductVariantProfile profile, ProductDefinition definition)
Parameters
Type | Name | Description |
---|---|---|
ProductVariantProfile | profile | The profile. |
ProductDefinition | definition | The definition. |
Fields
definition
The definition
Declaration
[SerializeField]
public ProductDefinition definition
Field Value
Type | Description |
---|---|
ProductDefinition |
id
The identifier
Declaration
[SerializeField]
public string id
Field Value
Type | Description |
---|---|
String |
Properties
ProductProfile
Gets the product profile.
Declaration
public ProductVariantProfile ProductProfile { get; }
Property Value
Type | Description |
---|---|
ProductVariantProfile | The product profile. |