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:
@@ -61,11 +61,9 @@ namespace GameRes.Formats.Unity
|
||||
case 28: // Texture2D
|
||||
{
|
||||
var tex = new Texture2D();
|
||||
tex.Load (input);
|
||||
tex.Load (input, asset.Tree.Version);
|
||||
if (0 == tex.m_DataLength)
|
||||
{
|
||||
if (asset.Tree.Version.StartsWith ("2017.")) // "2017.2.0f3" || "2017.1.1p1"
|
||||
input.ReadInt64();
|
||||
var stream_data = new StreamingInfo();
|
||||
stream_data.Load (input);
|
||||
if (!string.IsNullOrEmpty (stream_data.Path))
|
||||
|
||||
Reference in New Issue
Block a user