Click or drag to resize

ExtensionMethodsPlayDelayed Method

Plays an array of AudioSources after a delay.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: (
public static void PlayDelayed(
	this AudioSource[] audioSources,
	float secondsForDelay


Type: AudioSource
The array of audio sources that will be played.
Type: SystemSingle
The number of seconds to wait before playing the clip.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also