mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 08:08:51 -05:00
Clear keys and values when clearing seriazlied dict (#218)
This commit is contained in:
parent
3c74509b5a
commit
a503695fa9
@ -151,6 +151,8 @@ namespace UnityAtoms.BaseAtoms
|
||||
public void Clear()
|
||||
{
|
||||
_dict.Clear();
|
||||
_serializedKeys.Clear();
|
||||
_serializedValues.Clear();
|
||||
_cleared?.Invoke();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user