Method SettingsIntField
SettingsIntField(GUIContent, UserSetting<int>, string)
An integer field that implements search filtering and context menu reset.
Declaration
public static int SettingsIntField(GUIContent label, UserSetting<int> value, string searchContext)
Parameters
Type | Name | Description |
---|---|---|
GUIContent | label | Label in front of the value field. |
UserSetting<int> | value | The value to edit. |
string | searchContext | A string representing the current search query. Empty or null strings are to be treated as matching any value. |
Returns
Type | Description |
---|---|
int | The value that has been set by the user. |
SettingsIntField(string, UserSetting<int>, string)
An integer field that implements search filtering and context menu reset.
Declaration
public static int SettingsIntField(string label, UserSetting<int> value, string searchContext)
Parameters
Type | Name | Description |
---|---|---|
string | label | Label in front of the value field. |
UserSetting<int> | value | The value to edit. |
string | searchContext | A string representing the current search query. Empty or null strings are to be treated as matching any value. |
Returns
Type | Description |
---|---|
int | The value that has been set by the user. |