PlayerPrefOptionArray | ( | ValueType[] | _defaultValue, |
string | keyString, | ||
GUIContent | guiLabel, | ||
bool | _alwaysLoadAndSaveOnValueAccess = true |
||
) |
_defaultValue | When initialized or Reset, the preference's value will be set to this. |
keyString | A unique string that specifies this preference. |
guiLabel | The GUIContent that can be displayed for this preference. |
_alwaysLoadAndSaveOnValueAccess | Defines weather or not the value should be saved/read from storage every time it is accessed. This simplifies access, but incurs a performance hit. Default value is true. |