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 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