All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.4.1 - 2021-02-09
- Update project registry (#52)
- Update package publish registry.
- Add dependency for JsonUtility module (#50)
- Add missing dependency for JSONSerialize built-in module.
3.4.0 - 2020-11-30
- Add option to delete data of the settings after creation (#47)
- Add
Delete
context menu to settings data to delete any created asset or data.
- Add
3.3.0 - 2020-11-19
- Add settings provider to ask before trigger data creation (#44)
- Add
CustomSettings<T>.DataType
property which returns type of data settings use. - Add
CustomSettings<T>.ForceCreation
property to determine whether to always create data when accessed. - Add
CustomSettings<T>.IsLoaded
property to determine whether data is already loaded. - Change
CustomSettings<T>.SaveSettings()
method behaviour, now checks whether data is loaded or not, before saving. - Change
CustomSettingsProvider
to check whether data exists before display data in settings, and ask user for create permission, unless settings has enabled property to force data creation.
- Add
3.2.0 - 2020-11-12
- Add force save settings (#41)
- Method
CustomSettings<T>.OnSaveSettings(T data)
has been deprecated. UseCustomSettings<T>.OnSaveSettings(T data, bool force)
instead. - Add
force
optional argument forCustomSettings<T>.SaveSettings()
method, to determines whether to force serialization of the settings data. - Change
CustomSettingsPrefs<T>.ForceSave
property to be deprecated,PlayerPrefs.Save()
now always executed.
- Method
- Change data property to method (#40)
- Property
CustomSettings<T>.Data
has been deprecated, useCustomSettings<T>.GetData()
method instead. - Add
OnGetData()
method to override data loading behaviour.
- Property
3.1.0 - 2020-11-10
- Update to Unity 2020.2 (#35)
- Fix settings not saving to disk for settings from asset (#36)
- Fix
CustomSettingsEditorAsset
andCustomSettingsPackage
does not saving changes on disk when modify them via code. - Change
CustomSettingsResources
always allows saving, but it has no effect.
- Fix
3.0.1 - 2020-09-26
- Fix crash on CustomSettingsEditorAsset data saving (#30)
3.0.0 - 2020-09-25
- Add options to use custom settings in custom editor window (#26)
- Add
CustomSettingsWindow
to draw settings in separate editor window. - Add
CustomSettingsDrawer
to draw settings in GUI layout.
- Add
- Add destroy settings data (#24)
- Add
DestroySettings
method withOnDestroySettings
to override destroy behaviour, non by default. - Add
Destroyed
event, which triggered after data destroy completed. - Change
LoadSettings
to destroy exist data object before loading new one. - Change
CustomSettingsProvider
to force load settings when activated.
- Add
- Dont display script field in settings GUI (#21)
- Add
CustomSettingsData
as default implementation ofScriptableObject
used for settings data. - Add
CustomSettingsDataEditor
as default implementation ofEditor
forCustomSettingsData
, and which do not displayScript
field.
- Add
- Add support for UserSettings folder (#20)
- Add
CustomSettingsEditorUtility.DEFAULT_PACKAGE_EXTERNAL_USER_FOLDER
constant to use with settings stored under theUserSettings
folder, with default valueUserSettings/Packages
.
- Add
- Change Saved and Loaded event to pass Data as argument (#25)
- Refactoring and cleanup (#19)
- Add
com.ugf.editortools
dependency. - Remove
CustomSettingsInspectorScope
.
- Add
- Update to Unity 2020.1 (#18)
2.0.0 - 2020-01-11
CustomSettingsEditorPackage
default folder toProjectSettings
.
- Deprecated code.
1.1.0 - 2020-01-09
CustomSettings.Saved
andCustomSettings.Loaded
events.CustomSettings.LoadSettings
to load settings data directly.CustomSettings.ClearSettings
to clear settings data at storage.CustomSettings.Exists
to determines whether settings data exists at storage.
- Update to Unity 2019.3.
CustomSettings.Save
: useCustomSettings.SaveSettings
instead.CustomSettings.OnSave
andCustomSettings.OnLoad
: useCustomSettings.OnSaveSettings
andCustomSettings.OnLoadSettings
.CustomSettingsGUIScope
: useCustomSettingsInspectorScope
instead.CustomSettingsEditorUtility.DefaultPackageFolder
andCustomSettingsEditorUtility.DefaultPackageExternalFolder
: use renamed instead.
1.0.0 - 2019-09-15
CustomSettingsGUIScope
:GUI
scope to drawing editor with the same setup as inInspector
window.
0.2.0-preview - 2019-09-08
CustomSettingsUtility
withDefaultPackageFolder
constant to createCustomSettingsPackage
.CustomSettingsEditorUtility
withDefaultPackageFolder
andDefaultPackageExternalFolder
constants to createCustomSettingsEditorPackage
with different folders.
CustomSettingsEditorPackage
constructor to create external package settings, use constructor with specified folder path.
CustomSettingsEditorPackage
use incorrect path for external package settings.
0.1.0-preview - 2019-09-07
- This is a initial release.