-
Notifications
You must be signed in to change notification settings - Fork 0
AudioSource
0880 edited this page Apr 5, 2024
·
1 revision
-
audioClip: AnAudioClipobject representing the audio clip to be played. -
playOnStart: A boolean indicating whether the audio should start playing when the entity is started. -
loop: A boolean indicating whether the audio should loop. -
volume: A float value representing the volume of the audio. -
pitch: A float value representing the pitch of the audio.
- Starts playing the audio.
- Stops playing the audio.
- Pauses the audio.
- Returns the current playback position of the audio.
- Returns the duration of the audio.