Skip to content

SendToPoolTimer

Andrés Eduardo Maldonado edited this page Jun 14, 2019 · 2 revisions

Description

Calls Pooling.SendToPool(GameObject) after a set duration. The duration is reset every new spawn.

Properties

Type Name Description
float Duration In seconds, the time before this object calls SendToPool().
bool Use Unscaled Time If enabled, uses unscaledDeltaTime instead of deltaTime in the timer.
bool alwaysRun If false this component only works on instances from Pooling. Set this to true to run on objects that are already in the scene or will be created with Instantiate().

Clone this wiki locally