Summary
Attempt to create an AudioClip based on the current settings and set it to the clip field of the AudioSource.
Syntax
public bool TryCreateAudioClip(out Module module)
Parameters
| Name | Type | Description |
|---|---|---|
| module | Module | The module created during the audio clip generation process. Be sure to call Dispose() of it when you are done using it. |
Return Value
| Type | Description |
|---|---|
| bool | True if the AudioClip was successfully created. |