Class ProductContextOptionField
Class ProductContextOptionField.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
Syntax
public class ProductContextOptionField : MonoBehaviour, IContextOptionField
Properties
Key
Gets or sets the key.
Declaration
public string Key { get; set; }
Property Value
Type | Description |
---|---|
String | The key. |
Implements
SelectedOption
Gets or sets the selected option.
Declaration
public string SelectedOption { get; set; }
Property Value
Type | Description |
---|---|
String | The selected option. |
Implements
Transform
Gets the transform.
Declaration
public Transform Transform { get; }
Property Value
Type | Description |
---|---|
Transform | The transform. |
Implements
Methods
SetCategory(String)
Sets the category.
Declaration
public void SetCategory(string category)
Parameters
Type | Name | Description |
---|---|---|
String | category | The category. |
Implements
SetDisplayInfo(DisplayInfoContent)
Sets the display information.
Declaration
public void SetDisplayInfo(DisplayInfoContent info)
Parameters
Type | Name | Description |
---|---|---|
DisplayInfoContent | info | The information. |
Implements
SetDropdownValues(List<String>)
Sets the dropdown values.
Declaration
public void SetDropdownValues(List<string> options)
Parameters
Type | Name | Description |
---|---|---|
List<String> | options | The options. |
Implements
SetOptions(List<String>)
Sets the options.
Declaration
public void SetOptions(List<string> options)
Parameters
Type | Name | Description |
---|---|---|
List<String> | options | The options. |
Implements
Events
productContextOptionChanged
Occurs when [product context option changed].
Declaration
public event ProductContextChangeHandler productContextOptionChanged
Event Type
Type | Description |
---|---|
ProductContextChangeHandler |