◆ XmlPrefOption()

XmlPrefOption ( TValueType  _defaultValue,
string  keyString,
GUIContent  guiLabel,
bool  _alwaysLoadAndSaveOnValueAccess = true 
)
Parameters
_defaultValueWhen initialized or Reset, the preference's value will be set to this.
keyStringA unique string that specifies this preference.
guiLabelThe GUIContent that can be displayed for this preference. Optional. Not stored with the preference value.
_alwaysLoadAndSaveOnValueAccessSpecifies weather load and save are manual operations (false), or occur automatically (true) every time the value is accessed.