一套音频管理工具
由 QFramework 团队官方维护的独立工具包(不依赖 QFramework)。
- Unity 2018.4LTS
- PackageManager
- add from package git url:https://github.com/liangxiegame/AudioKit.git
- 或者国内镜像仓库:https://gitee.com/liangxiegame/AudioKit.git
- 或者点此下载 AudioKit.unitypackage 并安装到自己项目中的任意脚本中
// load from resources
AudioKit.PlaySound("SaySomething");
AudioKit.PlayVoice("SomeVoice");
AudioKit.PlayMusic("SomeMusic");
// load from ResKit
AudioKit.Config.AudioLoaderPool = new ResKitAudioLoaderPool();
AudioKit.PlaySound("resources://saysomething");
AudioKit.PlayVoice("resources://somevoice");
AudioKit.PlayMusic("resources://somemusic");
- QFramework 地址: https://github.com/liangxiegame/qframework