- Breaking Changes: Renaming enum fields in
Data.cs
/Runtime/Data.cs) to be shorter:RetrievedProjectData
has been changed toSuccess
;NowLoading
is shortened toLoading
;- and also added
Fail
.
- Breaking Changes: Making some changes in
BaseSettingsManager.cs
:- Taking out protected static coroutine
WaitUntilRead()
. This is replaced by...- Added
Setup(bool force)
, which not only is a public static coroutine that serve to setup the manager (if it isn't already, orforce
param is set to true), but usesGetDataStatus()
to determine finish condition instead ofData
being not-null. - Added virtual method,
GetStatus()
whichGetDataStatus()
calls. Determines the state of the manager. If this method returns a value other thanLoading
,Setup(bool)
assumes the manager is finished setting up. - Adding helper methods
GetInstanceOrThrow()
andGetDataOrThrow()
, both which does the same thing asGetInstance()
andGetData()
, but with error checking for whether the instance finished setup withSuccess
orUsingDefaultData
status.
- Added
- Taking out protected static coroutine
- New Enhancement: Updating documentation on
BaseSettingsManager.cs
encouraging a new standard: keep any extending classes private. Updated certain method's access level, such asGetInstance()
andGetData()
, to public so this standard can more easily be enforced.
- New Enhancement: adding virtual method,
CustomizeEditSettingsTree(VisualElement, SerializedObject)
, inBaseSettingsEditor.cs
. this method provides more flexibility for any classes extending this abstract class to customize the editor. This replacesGetEditSettingsTree()
.
- Updating package version keywords, dependency versions, etc.
- Bug Fixes: covering edge cases in
BaseSettingsEditor.cs
when...- Addressables settings is not setup, in which case a pop-up indicating so is presented;
- If the user drag-and-drops an existing setting file, in which case the script will be added to both Editor config and Addressables.
- New Enhancement: Adding new helper function,
LoadSettingsAsync<T>(string)
inData.cs
.
- Initial release:
- Added
BaseSettingsData.cs
: an abstractScriptableObject
and template for storing project-wide settings. - Added
BaseSettingsEditor.cs
: an abstractSettingsProvider
and template to draw the contents of aBaseSettingsData
. - Added
BaseSettingsManager.cs
: an abstractMonoBehaviour
and template for a singleton script that loads aBaseSettingsData
instance and performs any static functions. - Added
BaseSettingsBuilder.cs
: an abstractIPreprocessBuildWithReport
andIPostprocessBuildWithReport
script that drops an instance ofBaseSettingsData
into preloaded assets list.
- Added