Skip to content

Commit 85493e4

Browse files
authored
Update Pool.cs
1 parent 4e04250 commit 85493e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Pool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public Pool(GameObject prefab)
2828

2929
public static Pool GetPrefabPool(GameObject prefab)
3030
{
31-
var hasPool = _prefabLookup.TryGetValue(prefab.GetHashCode(), out var pool);
31+
bool hasPool = _prefabLookup.TryGetValue(prefab.GetHashCode(), out var pool);
3232

3333
if (!hasPool)
3434
pool = new Pool(prefab);

0 commit comments

Comments
 (0)