An audio resource that can be played by an entity.
- iOS 13.0+Beta
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
- Xcode 11.0+Beta
Audio class stores audio that you can play from any entity in your scene. Typically, you use an instance of the
Audio subclass, however, which adds the ability to load the audio data from a file (for example, from an
.aiff file stored in your app’s bundle) or from a URL.