From 7e595e206a4bb2495b0989f4f577768c5dd6d857 Mon Sep 17 00:00:00 2001 From: Razmoth <32140579+Razmoth@users.noreply.github.com> Date: Sat, 10 Feb 2024 08:05:09 +0400 Subject: [PATCH] - [Core] Fix incorrect output location for `GameObject` --- AssetStudio.CLI/Exporter.cs | 2 +- AssetStudio.GUI/Exporter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)