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 4e04250 commit 85493e4Copy full SHA for 85493e4
Runtime/Pool.cs
@@ -28,7 +28,7 @@ public Pool(GameObject prefab)
28
29
public static Pool GetPrefabPool(GameObject prefab)
30
{
31
- var hasPool = _prefabLookup.TryGetValue(prefab.GetHashCode(), out var pool);
+ bool hasPool = _prefabLookup.TryGetValue(prefab.GetHashCode(), out var pool);
32
33
if (!hasPool)
34
pool = new Pool(prefab);
0 commit comments