mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-02 18:05:36 +08:00
(Unity): check for 2017.* assets version.
This commit is contained in:
parent
6b28c28a56
commit
2f7a894268
@ -169,7 +169,7 @@ namespace GameRes.Formats.Unity
|
|||||||
tex.Load (input);
|
tex.Load (input);
|
||||||
if (0 == tex.m_DataLength)
|
if (0 == tex.m_DataLength)
|
||||||
{
|
{
|
||||||
if (asset.Tree.Version == "2017.2.0f3")
|
if (asset.Tree.Version.StartsWith ("2017.")) // "2017.2.0f3" || "2017.1.1p1"
|
||||||
input.ReadInt64();
|
input.ReadInt64();
|
||||||
var stream_data = new StreamingInfo();
|
var stream_data = new StreamingInfo();
|
||||||
stream_data.Load (input);
|
stream_data.Load (input);
|
||||||
|
Loading…
Reference in New Issue
Block a user