add more information to the asset list

This commit is contained in:
Perfare
2020-03-25 14:01:59 +08:00
parent 5c193c761a
commit fda821b441
8 changed files with 123 additions and 149 deletions

View File

@ -112,7 +112,7 @@ namespace AssetStudioGUI
public static bool ExportTextAsset(AssetItem item, string exportPath)
{
var m_TextAsset = (TextAsset)(item.Asset);
var exportFullName = exportPath + item.Text + (item.Extension ?? ".txt");
var exportFullName = exportPath + item.Text + ".txt";
if (ExportFileExists(exportFullName))
return false;
File.WriteAllBytes(exportFullName, m_TextAsset.m_Script);