diff --git a/AssetStudio.CLI/Exporter.cs b/AssetStudio.CLI/Exporter.cs index 3664154..b25cc5a 100644 --- a/AssetStudio.CLI/Exporter.cs +++ b/AssetStudio.CLI/Exporter.cs @@ -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 animationList = null) diff --git a/AssetStudio.GUI/Exporter.cs b/AssetStudio.GUI/Exporter.cs index 1d14c32..a4106fe 100644 --- a/AssetStudio.GUI/Exporter.cs +++ b/AssetStudio.GUI/Exporter.cs @@ -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 animationList = null)