string | |
string [] | Options[Get] |
int | SelectedOptionIndex[Get] |
OnIndexSelected[Get] | |
OnOptionSelected[Get] |
string | SelectedOption[Get] |
bool | IsShowing[Get] Whether the popup is currently showing or not |
void | LoadDropdown ( string [] newOptions ) Load dropdown with specified options |
void | SelectOption ( int newIndex ) Select an item in the dropdown list |
void | SelectOption ( string option ) Select option by name |
int | GetOptionIndex ( string option ) A method for obtaining the index of a dropdown option string. |
void | SetShowing ( bool toShowing ) Show or hide the popup |
| string Meta.Voice.Samples.TTSVoices.SimpleDropdownList.DropdownToggleUnselectedText |
|---|
No description available.
|
| string [] Meta.Voice.Samples.TTSVoices.SimpleDropdownList.Options |
|---|
No description available.
|
| int Meta.Voice.Samples.TTSVoices.SimpleDropdownList.SelectedOptionIndex |
|---|
No description available.
|
| SimpleDropdownIndexEvent Meta.Voice.Samples.TTSVoices.SimpleDropdownList.OnIndexSelected |
|---|
No description available.
|
| SimpleDropdownOptionEvent Meta.Voice.Samples.TTSVoices.SimpleDropdownList.OnOptionSelected |
|---|
No description available.
|
| string Meta.Voice.Samples.TTSVoices.SimpleDropdownList.SelectedOption |
|---|
No description available.
|
| bool Meta.Voice.Samples.TTSVoices.SimpleDropdownList.IsShowing |
|---|
Whether the popup is currently showing or not |
| virtual void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.Awake ( ) |
|---|
On awake, find dropdown cell |
| virtual void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.Start ( ) |
|---|
Perform dropdown setup methods |
| virtual void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.OnEnable ( ) |
|---|
Add toggle delegate |
| virtual void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.OnDisable ( ) |
|---|
Remove toggle delegate |
| virtual void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.LoadCell ( Toggle cell, int index, string option, ref float y ) |
|---|
Load a specific cell Parameters index Cell index Returns Height of cell |
| void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.LoadDropdown ( string [] newOptions ) |
|---|
Load dropdown with specified options Parameters newOptions The options to be used |
| void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.SelectOption ( int newIndex ) |
|---|
Select an item in the dropdown list Parameters newIndex The option index to be selected |
| void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.SelectOption ( string option ) |
|---|
Select option by name Parameters option The option to be selected |
| int Meta.Voice.Samples.TTSVoices.SimpleDropdownList.GetOptionIndex ( string option ) |
|---|
A method for obtaining the index of a dropdown option string. Parameters option Accepts an option text string that matches a loaded text option. Returns Returns the index of the provided option string |
| void Meta.Voice.Samples.TTSVoices.SimpleDropdownList.SetShowing ( bool toShowing ) |
|---|
Show or hide the popup Parameters toShowing The option index to be selected |