UnityLink`
UnityLink`
DeleteUnityAudioSource
delete the Unity audio source component obj.
DeleteUnityAudioSource["name"]
delete the Unity audio source component with the specified name.
Details
- DeleteUnityAudioSource destroys the Unity audio source component, and releases any references to obj.
- DeleteUnityAudioSource[All] destroys all the audio sources in the current scene.
- DeleteUnityAudioSource is Listable
Examples
open allclose allBasic Examples (1)
Scope (4)
Possible Issues (1)
A UnityAudioSource cannot be accessed after deletion:

Wolfram Research (2019), DeleteUnityAudioSource, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityAudioSource.html.
Text
Wolfram Research (2019), DeleteUnityAudioSource, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityAudioSource.html.
CMS
Wolfram Language. 2019. "DeleteUnityAudioSource." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityAudioSource.html.
APA
Wolfram Language. (2019). DeleteUnityAudioSource. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityAudioSource.html