| | |
| | |
|
| | | private void CopyToStreamingAssets()
|
| | | {
|
| | | // YooAsset 打包时已通过 ClearAndCopyAll 自动拷贝到 StreamingAssets/yoo/
|
| | | Debug.Log("[AssetBundleBuildTab] YooAsset 模式下打包已自动拷贝到 StreamingAssets,无需手动操作。");
|
| | | if (YooAssetBuildTool.CopyStartupConfigsToStreamingAssets())
|
| | | {
|
| | | AssetDatabase.Refresh();
|
| | | }
|
| | | }
|
| | |
|
| | | private void ExecuteBuildAll()
|
| | |
| | | EditorUtility.ClearProgressBar();
|
| | |
|
| | | if (ok)
|
| | | {
|
| | | YooAssetBuildTool.CopyStartupConfigsToStreamingAssets();
|
| | | Debug.Log($"[AssetBundleBuildTab] Package '{yooPackageName}' 打包成功!");
|
| | | }
|
| | | else
|
| | | {
|
| | | Debug.LogError($"[AssetBundleBuildTab] Package '{yooPackageName}' 打包失败!");
|
| | | }
|
| | |
|
| | | AssetDatabase.Refresh();
|
| | | }
|