support export MovieTexture

This commit is contained in:
Perfare
2017-11-13 17:46:26 +08:00
parent 682ef4552e
commit b2ecc65885
5 changed files with 63 additions and 6 deletions

View File

@ -1103,13 +1103,9 @@ namespace Unity_Studio
#endregion
#region VideoClip
case 329:
case 152: //MovieTexture
{
var str = asset.ViewStruct();
if (str != null)
{
textPreviewBox.Text = str;
textPreviewBox.Visible = true;
}
StatusStripUpdate("Only supported export.");
break;
}
#endregion
@ -1619,6 +1615,12 @@ namespace Unity_Studio
exportedCount++;
}
break;
case 152: //MovieTexture
if (ExportMovieTexture(asset, exportpath))
{
exportedCount++;
}
break;
default:
if (ExportRawFile(asset, exportpath))
{