-
Notifications
You must be signed in to change notification settings - Fork 0
FadeAudioSource.cs
Matthew Coulter edited this page Aug 17, 2022
·
1 revision
class/ Inherits from:None
This class is an attempt to fade Sounds in and out.
Method | Description | Returns | Parameters | Type |
---|---|---|---|---|
IEnumerator | This method is what will start the lerp from the current Sound's volume to the target volume, lasting however long the duration is | audioSource: This is the AudioSource whos volume will be changed, duration: This float is how long the fade will last for, targetVolume: This float is what the Audio Source volume will end up at when the fade finishes | static |