AudioSource Component
Properties
|Property | Description |
|:-- | :-- | |Clip | The audio resource object to be played |
|Loop | Whether to loop |
|PlayOnAwake | Whether to play audio automatically after the component is activated | |Volume | Audio volume, ranging from 0 to 1 |
For more script interfaces for AudioSource, please refer to AudioSource API.
For specific playback controls, please refer to Audio System Overview.