Skip to content

Commit 0f4189d

Browse files
authored
Update Poolable.cs
1 parent b1bbd33 commit 0f4189d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/Poolable.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ private void Awake() =>
1919
public void ReturnToPool()
2020
{
2121
for (int i = 0; i < _poolables.Length; i++)
22-
_poolables[i].OnDespawn();
22+
_poolables[i].OnRelease();
2323
}
2424

2525
public void ReturnFromPool()
2626
{
2727
for (int i = 0; i < _poolables.Length; i++)
28-
_poolables[i].OnSpawn();
28+
_poolables[i].OnGet();
2929
}
3030
}
3131
}

0 commit comments

Comments
 (0)