unity AssetBundle打包
程序员文章站
2022-03-02 11:48:18
...
[MenuItem("Assets/buildassbundle")]
static void buidassetbundle()
{
string die = "assetbundles";
if (Directory.Exists(die)==false)
{
Directory.CreateDirectory(die);
}
BuildPipeline.BuildAssetBundles(die, BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows64);
}
上一篇: Unity 异步加载网络头像
下一篇: Unity中的泛型单例脚本工具