An audio resource that can be played by an entity.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
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.