 | AudioManagerPlay Method (AudioSource, Transform, Vector3) |
Spawn an AudioSource and pool it after the sound ends.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static AudioSource Play(
AudioSource prefab,
Transform parent,
Vector3 position
)
Request Example
View SourceParameters
- prefab
- Type: AudioSource
- parent
- Type: Transform
- position
- Type: Vector3
Return Value
Type:
AudioSourceThe pool instance.
See Also