playSound abstract method
Sound
playSound({
- required AssetReference assetReference,
- bool keepAlive = false,
- bool looping = false,
- double pitchBend = 1.0,
Play a sound with the given assetReference
.
Implementation
Sound playSound({
required final AssetReference assetReference,
final bool keepAlive = false,
final bool looping = false,
final double pitchBend = 1.0,
});