AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

AudioAsset

Class

Inherits

RBAsset

Description

Audio asset which can hold a sound effect or music. Audio assets can be loaded from various sources, including synchronous and asynchronous sources. Use AudioAsset.Load to load an audio asset.

Variables

audioClip AudioClip containing the sound data
progress (inherited) Asynchronous loading progress, ranges from 0.0 to 1.0.

Properties

error (inherited) Loading error of the audio asset
status (inherited) Loading status of the an asset

Methods

Load (2 overloads) Load an audio asset from the given source
Unload (inherited) Unload previously loaded asset