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

Commit

Permalink
- [Core] Fix incorrect output location for GameObject
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth committed Feb 10, 2024
1 parent 14a6115 commit 7e595e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AssetStudio.CLI/Exporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public static bool ExportGameObject(AssetItem item, string exportPath, List <Ass
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)
Expand Down
2 changes: 1 addition & 1 deletion AssetStudio.GUI/Exporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public static bool ExportGameObject(AssetItem item, string exportPath, List <Ass
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)
Expand Down

0 comments on commit 7e595e2

Please sign in to comment.