| PoolHelperDespawn Method (Object, Single, Boolean) |
Despawns an instance after a delay.
Namespace:
Archon.SwissArmyLib.Pooling
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void Despawn(
Object target,
float delay,
bool unscaledTime = false
)
Request Example
View SourceParameters
- target
- Type: Object
The instance to despawn. - delay
- Type: SystemSingle
Time in seconds to wait before despawning the target. - unscaledTime (Optional)
- Type: SystemBoolean
Should the delay be according to time or unscaledTime?
See Also