mirror of https://github.com/tuyoogame/YooAsset
25 lines
466 B
C#
25 lines
466 B
C#
|
|
namespace YooAsset.Editor
|
|
{
|
|
public struct AddressRuleData
|
|
{
|
|
public string AssetPath;
|
|
public string CollectPath;
|
|
public string GroupName;
|
|
|
|
public AddressRuleData(string assetPath, string collectPath, string groupName)
|
|
{
|
|
AssetPath = assetPath;
|
|
CollectPath = collectPath;
|
|
GroupName = groupName;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 寻址规则接口
|
|
/// </summary>
|
|
public interface IAddressRule
|
|
{
|
|
string GetAssetAddress(AddressRuleData data);
|
|
}
|
|
} |