







![]() |
ClockStone Audio Toolkit for Unity - Documentation |
AudioController..::..DetachAllAudios Method |
AudioController Class See Also Send Feedback |
![]() |
Detaches all audio objects possibly parented to the specified game object.
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.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.