Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 3.11 KB

CHANGELOG.md

File metadata and controls

40 lines (28 loc) · 3.11 KB

Change Log:

1.2.0-pre.1

  • Breaking Changes: Renaming enum fields in Data.cs/Runtime/Data.cs) to be shorter:
    • RetrievedProjectData has been changed to Success;
      • NowLoading is shortened to Loading;
      • 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, or force param is set to true), but uses GetDataStatus() to determine finish condition instead of Data being not-null.
      • Added virtual method, GetStatus() which GetDataStatus() calls. Determines the state of the manager. If this method returns a value other than Loading, Setup(bool) assumes the manager is finished setting up.
      • Adding helper methods GetInstanceOrThrow() and GetDataOrThrow(), both which does the same thing as GetInstance() and GetData(), but with error checking for whether the instance finished setup with Success or UsingDefaultData status.

1.1.0-pre.2

  • New Enhancement: Updating documentation on BaseSettingsManager.cs encouraging a new standard: keep any extending classes private. Updated certain method's access level, such as GetInstance() and GetData(), to public so this standard can more easily be enforced.

1.1.0-pre.1

  • New Enhancement: adding virtual method, CustomizeEditSettingsTree(VisualElement, SerializedObject), in BaseSettingsEditor.cs. this method provides more flexibility for any classes extending this abstract class to customize the editor. This replaces GetEditSettingsTree().

1.0.1-pre.2

  • Updating package version keywords, dependency versions, etc.

1.0.1-pre.1

  • 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) in Data.cs.

1.0.0-pre.1

  • Initial release:
    • Added BaseSettingsData.cs: an abstract ScriptableObject and template for storing project-wide settings.
    • Added BaseSettingsEditor.cs: an abstract SettingsProvider and template to draw the contents of a BaseSettingsData.
    • Added BaseSettingsManager.cs: an abstract MonoBehaviour and template for a singleton script that loads a BaseSettingsData instance and performs any static functions.
    • Added BaseSettingsBuilder.cs: an abstract IPreprocessBuildWithReport and IPostprocessBuildWithReport script that drops an instance of BaseSettingsData into preloaded assets list.