com.alicizax.unity.tuyoogam.../Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs

28 lines
707 B
C#
Raw Normal View History

2025-01-09 11:31:04 +08:00
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEditor;
namespace YooAsset.Editor
{
public static class AssetBundleBuilderHelper
{
/// <summary>
/// 获取默认的输出根目录
/// </summary>
public static string GetDefaultBuildOutputRoot()
{
string projectPath = EditorTools.GetProjectPath();
return $"{projectPath}/Bundles";
}
/// <summary>
/// 获取流文件夹路径
/// </summary>
public static string GetStreamingAssetsRoot()
{
2025-02-28 16:11:01 +08:00
return YooAssetSettingsData.GetYooDefaultBuildinRoot();
2025-01-09 11:31:04 +08:00
}
}
}