- [Core] Fix incorrect output location for GameObject

This commit is contained in:
Razmoth
2024-02-10 08:05:09 +04:00
parent 14a6115d70
commit 7e595e206a
2 changed files with 2 additions and 2 deletions

View File

@@ -393,7 +393,7 @@ namespace AssetStudio.CLI
return false;
var m_GameObject = (GameObject)item.Asset;
return ExportGameObject(m_GameObject, exportFullPath, animationList);
return ExportGameObject(m_GameObject, exportFullPath + Path.DirectorySeparatorChar, animationList);
}
public static bool ExportGameObject(GameObject gameObject, string exportPath, List<AssetItem> animationList = null)

View File

@@ -392,7 +392,7 @@ namespace AssetStudio.GUI
return false;
var m_GameObject = (GameObject)item.Asset;
return ExportGameObject(m_GameObject, exportFullPath, animationList);
return ExportGameObject(m_GameObject, exportFullPath + Path.DirectorySeparatorChar, animationList);
}
public static bool ExportGameObject(GameObject gameObject, string exportPath, List<AssetItem> animationList = null)