Method GetString
GetString(string, string, string)
Gets the string value stored in the Editor preferences for the calling property.
Declaration
public static string GetString(string typeName, string defaultValue = "", string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | typeName | The name of the type that declares the property. |
| string | defaultValue | Value to be used as default if a preference value has not been stored. |
| string | propertyName | Name of calling property. When invoking this function from a property getter or setter, you can leave this parameter blank and it will be filled in by the property name. |
Returns
| Type | Description |
|---|---|
| string | The string value stored in the Editor preferences for the calling property. |