Click or drag to resize

BetterCoroutinesWaitForSeconds Method

Waits for the specified amount of seconds, either in scaled time (just as Unity's WaitForSeconds) or in unscaled time.

Namespace:  Archon.SwissArmyLib.Coroutines
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Object WaitForSeconds(
	float seconds,
	bool unscaled = false
)
Request Example View Source

Parameters

seconds
Type: SystemSingle
Duration in seconds to wait before continuing.
unscaled (Optional)
Type: SystemBoolean
Should the wait time ignore timeScale?

Return Value

Type: Object

[Missing <returns> documentation for "M:Archon.SwissArmyLib.Coroutines.BetterCoroutines.WaitForSeconds(System.Single,System.Boolean)"]

See Also