update asset bundle collector
parent
8ff666d5e2
commit
5254fb65ef
|
@ -27,8 +27,8 @@ namespace YooAsset.Editor
|
||||||
string IAddressRule.GetAssetAddress(AddressRuleData data)
|
string IAddressRule.GetAssetAddress(AddressRuleData data)
|
||||||
{
|
{
|
||||||
string fileName = Path.GetFileNameWithoutExtension(data.AssetPath);
|
string fileName = Path.GetFileNameWithoutExtension(data.AssetPath);
|
||||||
string collectorName = Path.GetFileNameWithoutExtension(data.CollectPath);
|
FileInfo fileInfo = new FileInfo(data.AssetPath);
|
||||||
return $"{collectorName}_{fileName}";
|
return $"{fileInfo.Directory.Name}_{fileName}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue