internal void Duplicate(string fullName, List <Package.Asset> assets) { if (reportAssets) { AssetReport.instance.Duplicate(assets); } Util.DebugPrint("Duplicate name", fullName); DualProfilerSource profiler = LoadingScreen.instance.DualSource; profiler?.CustomAssetDuplicate(ShortAssetName(fullName)); }
internal void Duplicate(string fullName, Package package) { string path = package.packagePath ?? "Path unknown"; if (reportAssets) { AssetReport.instance.Duplicate(fullName, path); } Util.DebugPrint("Duplicate asset", fullName, "in", path); DualProfilerSource profiler = LoadingScreen.instance.DualSource; profiler?.CustomAssetDuplicate(ShorterAssetName(fullName)); }