Restore the extension of TextAsset

Export Animator to a separate folder
This commit is contained in:
Perfare
2018-11-22 12:17:16 +08:00
parent 7dbc2ff95d
commit ab5f5fbd9d
3 changed files with 4 additions and 3 deletions

View File

@ -210,7 +210,7 @@ namespace AssetStudioGUI
var extension = Path.GetExtension(originalPath);
if (!string.IsNullOrEmpty(extension) && item.Type == ClassIDType.TextAsset)
{
//asset.Extension = extension; //TODO
item.Extension = extension;
}
item.Text = Path.GetDirectoryName(originalPath) + "\\" + item.Text;