Click or drag to resize

PoolHelperTDespawn Method (T, Single, Boolean)

Despawns an object after a delay.

Namespace:  Archon.SwissArmyLib.Pooling
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void Despawn(
	T target,
	float delay,
	bool unscaledTime = false
)
Request Example View Source

Parameters

target
Type: T
The target 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