diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a17c28..838a2a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.6.3] - 2024-11-02 + +**Fix**: +- Fixed the compilation issues of *ObservableDictionary* + ## [0.6.2] - 2024-11-02 - Added the *ObservableUpdateFlag* to help performance when updating subscribers to the *ObservableDictionary*. By default is set *ObservableUpdateFlag.KeyUpdateOnly* diff --git a/Runtime/ObservableDictionary.cs b/Runtime/ObservableDictionary.cs index 5c3352b..5f44ce0 100644 --- a/Runtime/ObservableDictionary.cs +++ b/Runtime/ObservableDictionary.cs @@ -1,4 +1,3 @@ -using NUnit.Framework; using System; using System.Collections; using System.Collections.Generic; @@ -9,16 +8,6 @@ namespace GameLovers { - public enum ObservableUpdateFlag - { - // Updates all subsribers that didn't specify the key index - UpdateOnly, - // Updates only for subscripers that added their key index - KeyUpdateOnly, - // Updates all types of subscribers [This has a high performance cost] - Both - } - /// /// A simple dictionary with the possibility to observe changes to it's elements defined rules /// diff --git a/Runtime/ObservableUpdateType.cs b/Runtime/ObservableUpdateType.cs index 26e5582..f601d79 100644 --- a/Runtime/ObservableUpdateType.cs +++ b/Runtime/ObservableUpdateType.cs @@ -8,4 +8,14 @@ public enum ObservableUpdateType Updated, Removed } + + public enum ObservableUpdateFlag + { + // Updates all subsribers that didn't specify the key index + UpdateOnly, + // Updates only for subscripers that added their key index + KeyUpdateOnly, + // Updates all types of subscribers [This has a high performance cost] + Both + } } \ No newline at end of file diff --git a/package.json b/package.json index 71d0472..9d8f9f3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "com.gamelovers.dataextensions", "displayName": "Unity Data Type Extensions", "author": "Miguel Tomas", - "version": "0.6.2", + "version": "0.6.3", "unity": "2022.3", "license": "MIT", "description": "This package extends various sets of data types to be used in any type of data containers or persistent serializable data",