 | AudioManagerPlay Method (AudioClip, Boolean, Boolean) |
Play an audio with a dedicated AudioSource and destroy it after it ends (if it's not looping).
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static AudioSource Play(
AudioClip clip,
bool loop = false,
bool is3D = false
)
Request Example
View SourceParameters
- clip
- Type: AudioClip
- loop (Optional)
- Type: SystemBoolean
- is3D (Optional)
- Type: SystemBoolean
Return Value
Type:
AudioSourceThe
AudioSource instantiated.
See Also