版本
SoundBanks for Android included in the APK can be directly accessed via the LoadBank() APIs. SoundBanks placed under the StreamingAssets
folder are included in the Assets
folder of the APK when building the Unity project. The Low-Level IO handles accessing SoundBanks from the APK transparently.
The Low-Level IO can also access SoundBank files in the Android file system, such as from an SD card. This is not the default behavior. If you want to access the native file system you need to call AkSoundEngine.AddBasePath(YourPath)
. This new path will take precedence over the default APK files. If a file has the same name in the external path and in the APK, the external path is used. This is useful to implement DLCs or patches to audio content after the APK is built.