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