Method SearchableSlider
SearchableSlider(GUIContent, float, float, float, string)
A slider that implements search filtering.
Declaration
public static float SearchableSlider(GUIContent label, float value, float min, float max, string searchContext)
Parameters
Type | Name | Description |
---|---|---|
GUIContent | label | Label in front of the value field. |
float | value | The value to edit. |
float | min | The value at the left end of the slider. |
float | max | The value at the right end of the slider. |
string | searchContext | A string representing the current search query. Empty or null strings are to be treated as matching any value. |
Returns
Type | Description |
---|---|
float | The value that has been set by the user. |
SearchableSlider(string, float, float, float, string)
A slider that implements search filtering.
Declaration
public static float SearchableSlider(string label, float value, float min, float max, string searchContext)
Parameters
Type | Name | Description |
---|---|---|
string | label | Label in front of the value field. |
float | value | The value to edit. |
float | min | The value at the left end of the slider. |
float | max | The value at the right end of the slider. |
string | searchContext | A string representing the current search query. Empty or null strings are to be treated as matching any value. |
Returns
Type | Description |
---|---|
float | The value that has been set by the user. |