gd-dynamic-sound/src/DynamicSoundConstants.gd

17 lines
363 B
GDScript

class_name DynamicSoundConstants
## How the [DynamicSoundPlayer] family loops the playlist.
##
## [b]Single[/b] — keep playing the current song; never advances.[br]
## [b]All[/b] — advance through the playlist, wrapping back to the first song
## after the last finishes.
enum LoopMode {
Single = 0,
All = 1
}
enum PitchMode {
Constant = 0,
Random = 1
}