Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.

Commit 7e595e2

Browse files
committed
- [Core] Fix incorrect output location for GameObject
1 parent 14a6115 commit 7e595e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AssetStudio.CLI/Exporter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public static bool ExportGameObject(AssetItem item, string exportPath, List <Ass
393393
return false;
394394

395395
var m_GameObject = (GameObject)item.Asset;
396-
return ExportGameObject(m_GameObject, exportFullPath, animationList);
396+
return ExportGameObject(m_GameObject, exportFullPath + Path.DirectorySeparatorChar, animationList);
397397
}
398398

399399
public static bool ExportGameObject(GameObject gameObject, string exportPath, List<AssetItem> animationList = null)

AssetStudio.GUI/Exporter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ public static bool ExportGameObject(AssetItem item, string exportPath, List <Ass
392392
return false;
393393

394394
var m_GameObject = (GameObject)item.Asset;
395-
return ExportGameObject(m_GameObject, exportFullPath, animationList);
395+
return ExportGameObject(m_GameObject, exportFullPath + Path.DirectorySeparatorChar, animationList);
396396
}
397397

398398
public static bool ExportGameObject(GameObject gameObject, string exportPath, List<AssetItem> animationList = null)

0 commit comments

Comments
 (0)