mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-26 02:30:18 +00:00
Optimize share bundle pack logic
优化了共享资源的打包逻辑。
This commit is contained in:
@@ -28,6 +28,8 @@ namespace YooAsset.Editor
|
||||
/// </summary>
|
||||
public class PackDirectory : IPackRule
|
||||
{
|
||||
public static PackDirectory StaticPackRule = new PackDirectory();
|
||||
|
||||
string IPackRule.GetBundleName(PackRuleData data)
|
||||
{
|
||||
return Path.GetDirectoryName(data.AssetPath);
|
||||
|
||||
Reference in New Issue
Block a user