mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 08:08:51 -05:00
[Fixed] event refernce listener listening to old event
This commit is contained in:
parent
1c0ebd0e85
commit
67833f3c29
@ -46,7 +46,7 @@ namespace UnityAtoms
|
||||
{
|
||||
_inMemoryCopy = ScriptableObject.CreateInstance<E>();
|
||||
}
|
||||
else
|
||||
else if(_inMemoryCopy == null)
|
||||
{
|
||||
_inMemoryCopy = Instantiate(_base);
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ namespace UnityAtoms
|
||||
{
|
||||
_inMemoryCopy = ScriptableObject.CreateInstance<V>();
|
||||
}
|
||||
else
|
||||
else if(_inMemoryCopy == null)
|
||||
{
|
||||
_inMemoryCopy = Instantiate(Base);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user