LifetimeObject
Add this component onto your gameobject, if you want it to disappear automatically after certain amount of time. It will be also inherited from PooledObject, so it will be returned to PoolSystem.
Parameters in inspector
Lifetime – amount of time, after which this object will be returned to pool (5 seconds by default).
Last updated