AudioSource Component

audiosource

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 the AudioSource API. For specific playback controls, please refer to the Audio System Overview documentation.