少年修仙传客户端基础资源
hch
2024-12-10 650351d224145cc692715571fc2178378bff393a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using UnityEditor;
 
namespace UnityEngine.AssetBundles.AssetBundleDataSource
{
    public partial struct ABBuildInfo
    {
        public string outputDirectory;
        public BuildAssetBundleOptions options;
        public BuildTarget buildTarget;
    }
 
    public partial interface ABDataSource
    {
        //public static List<ABDataSource> CreateDataSources();
        string Name { get; }
        string ProviderName { get; }
 
        string[] GetAssetPathsFromAssetBundle (string assetBundleName);
        string GetAssetBundleName(string assetPath);
        string GetImplicitAssetBundleName(string assetPath);
        string[] GetAllAssetBundleNames();
        bool IsReadOnly();
 
        void SetAssetBundleNameAndVariant (string assetPath, string bundleName, string variantName);
        void RemoveUnusedAssetBundleNames();
 
        bool CanSpecifyBuildTarget { get; }
        bool CanSpecifyBuildOutputDirectory { get; }
        bool CanSpecifyBuildOptions { get; }
 
        bool BuildAssetBundles (ABBuildInfo info);
    }
}