Class ProductVariantProfile
Class ProductVariantProfile.
Namespace: UnityEngine.Industrial.Configuring.Core
Syntax
[Serializable]
public class ProductVariantProfile : IDisplayableCard
Constructors
ProductVariantProfile()
Initializes a new instance of the ProductVariantProfile class.
Declaration
public ProductVariantProfile()
ProductVariantProfile(String, AssetProductReference)
Initializes a new instance of the ProductVariantProfile class.
Declaration
public ProductVariantProfile(string label, AssetProductReference product)
Parameters
Type | Name | Description |
---|---|---|
String | label | The label. |
AssetProductReference | product | The product. |
Fields
id
The identifier
Declaration
[Tooltip("Unique id for this product profile.")]
[SerializeField]
public string id
Field Value
Type | Description |
---|---|
String |
materialResourcesFolders
The material resources folders
Declaration
[SerializeField]
public List<string> materialResourcesFolders
Field Value
Type | Description |
---|---|
List<String> |
product
The product
Declaration
[SerializeField]
public AssetProductReference product
Field Value
Type | Description |
---|---|
AssetProductReference |
shouldRefreshMaterials
The should refresh materials
Declaration
[SerializeField]
public bool shouldRefreshMaterials
Field Value
Type | Description |
---|---|
Boolean |
Properties
Label
Gets or sets the label.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String | The label. |
Product
Gets the product.
Declaration
public Product Product { get; }
Property Value
Type | Description |
---|---|
Product | The product. |
Methods
ResetId()
Resets the identifier.
Declaration
public void ResetId()
Thumbnail()
Thumbnails this instance.
Declaration
public Texture2D Thumbnail()
Returns
Type | Description |
---|---|
Texture2D | Texture2D. |