Skip to content

Commit 7abd775

Browse files
authored
Update Pool.cs
1 parent d60f057 commit 7abd775

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Pool.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public static Pool Get(GameObject prefab)
5050

5151
public void Populate(int count)
5252
{
53-
if (count <= 0)
54-
return;
55-
5653
for (int i = 0; i < count; i++)
5754
{
5855
Poolable entity = Object.Instantiate(_prefab);

0 commit comments

Comments
 (0)