Constructor AdditionalPropertiesState
AdditionalPropertiesState(TState, string, string)
Constructor will create the key to store in the EditorPref the state given generic type passed.
Declaration
public AdditionalPropertiesState(TState defaultValue, string prefix = "CoreRP", string stateId = "UI_AP_State")
Parameters
| Type | Name | Description |
|---|---|---|
| TState | defaultValue | If key did not exist, it will be created with this value for initialization. |
| string | prefix | [Optional] Prefix scope of the key (Default is CoreRP) |
| string | stateId | [Optional] Postfix used to differentiate between different keys (Default is UI_AP_State) |