support Unity 2017.3, Fixed #126

This commit is contained in:
Perfare
2018-01-03 04:24:17 +08:00
parent 40153f6f19
commit 17d2140909
6 changed files with 31 additions and 6 deletions

View File

@ -24,7 +24,7 @@ namespace Unity_Studio
var m_ProxyHeight = a_Stream.ReadUInt32();
var Width = a_Stream.ReadUInt32();
var Height = a_Stream.ReadUInt32();
if (sourceFile.version[0] == 2017)//2017.x
if (sourceFile.version[0] >= 2017)//2017.x and up
{
var m_PixelAspecRatioNum = a_Stream.ReadUInt32();
var m_PixelAspecRatioDen = a_Stream.ReadUInt32();