Click or drag to resize

AudioControllerDetachAllAudios Method

Detaches all audio objects possibly parented to the specified game object.

Namespace:  (Default Namespace)
Assembly:  AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static void DetachAllAudios(
	GameObject gameObjectWithAudios
)

Parameters

gameObjectWithAudios
Type: GameObject
The GameObject with possibly playing AudioObjects.
Remarks
Use this method on a game object BEFORE destryoing it if you want to keep any audios playing parented to this object.
See Also