fix config

This commit is contained in:
Mikhail 2024-02-06 18:48:44 +08:00
parent a248f4fc34
commit ddceb74a20

View File

@ -32,6 +32,10 @@ namespace DCFApixels.DragonECS
} }
public void Remove(string valueName) public void Remove(string valueName)
{ {
if (_isLocked)
{
throw new InvalidOperationException();
}
_storage.Remove(valueName); _storage.Remove(valueName);
} }
public void Set<T>(string valueName, T value) public void Set<T>(string valueName, T value)