update AssetBundleCollector

This commit is contained in:
hevinci
2023-06-27 10:40:09 +08:00
parent 561cf411ef
commit 0b2a2bf97d
22 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,27 @@

namespace YooAsset.Editor
{
public struct AddressRuleData
{
public string AssetPath;
public string CollectPath;
public string GroupName;
public string UserData;
public AddressRuleData(string assetPath, string collectPath, string groupName, string userData)
{
AssetPath = assetPath;
CollectPath = collectPath;
GroupName = groupName;
UserData = userData;
}
}
/// <summary>
/// 寻址规则接口
/// </summary>
public interface IAddressRule
{
string GetAssetAddress(AddressRuleData data);
}
}