- [Core] Fix incorrect output location for GameObject
This commit is contained in:
@@ -393,7 +393,7 @@ namespace AssetStudio.CLI
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
var m_GameObject = (GameObject)item.Asset;
|
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)
|
public static bool ExportGameObject(GameObject gameObject, string exportPath, List<AssetItem> animationList = null)
|
||||||
|
|||||||
@@ -392,7 +392,7 @@ namespace AssetStudio.GUI
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
var m_GameObject = (GameObject)item.Asset;
|
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)
|
public static bool ExportGameObject(GameObject gameObject, string exportPath, List<AssetItem> animationList = null)
|
||||||
|
|||||||
Reference in New Issue
Block a user