Skip to content

Commit d7872df

Browse files
committed
cautious comment added to prevent misunderstanding
1 parent c6858be commit d7872df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/Scripts/ObjectPool/PooledObject.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public virtual void AddRandomForce()
4444

4545
private void Update()
4646
{
47+
//The timer stands for only demostration reasons .
48+
//Remove it or comment it than you can despawn your objects whenever you want !.
49+
4750
if (_timer > 0)
4851
{
4952
_timer -= Time.deltaTime;

0 commit comments

Comments
 (0)