We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85493e4 commit 902ec81Copy full SHA for 902ec81
Runtime/Pool.cs
@@ -48,6 +48,7 @@ public void Populate(int count)
48
{
49
var entity = Object.Instantiate(_prefab);
50
_entities.Push(entity);
51
+ _instanceLookup.Add(entity.gameObject.GetHashCode(), this);
52
entity.gameObject.SetActive(false);
53
}
54
0 commit comments