mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(UnityObject): added Type property.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace GameRes.Formats.Unity
|
||||
{
|
||||
reader.SetupReaders (obj.Asset);
|
||||
var tex = new Texture2D();
|
||||
tex.Load (reader);
|
||||
tex.Load (reader, obj.Asset.Tree.Version);
|
||||
if (0 == tex.m_DataLength)
|
||||
{
|
||||
reader.Dispose();
|
||||
@@ -131,6 +131,7 @@ namespace GameRes.Formats.Unity
|
||||
}
|
||||
m_disposed = true;
|
||||
}
|
||||
base.Dispose (disposing);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user