Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
moisesjpelaez authored Dec 23, 2023
1 parent 9ccd892 commit 3108ab9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ _It creates an AdaptiveAudio.tscn file and automatically adds it as an autoload
Use the `AdaptiveAudio` autoload singleton to call the methods from anywhere in your project.

The script has multiple methods but only the following ones are intended to be used:
- `play_track(track_name: String, fade_time: float = 0.5, layer_name: String = "")`: plays the BaseTrack. It can start playing using a single layer.
- `transition_to(track_name: String, layer_name: String, fade_time: float = 0.5)`: transitions to a specific track.
- `blend_layer(track_name: String, layer_name: String = "", fade_time: float = 0.5)`: blends a layer to a specific track.
- `stop_track(fade_time: float = 0.5)`: stops playing the current track and all its layers.
- `play_track`: plays the BaseTrack. It can start playing using a single layer.
- `transition_to`: transitions to a specific track.
- `blend_layer`: blends a layer to a specific track.
- `stop_track`: stops playing the current track and all its layers.

_The rest of the methods are intended for the plugin's internal use._

0 comments on commit 3108ab9

Please sign in to comment.