mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-18 17:04:32 +08:00
(Unity): implemented 'resources.assets' archives.
This commit is contained in:
@@ -46,9 +46,13 @@ namespace GameRes.Formats.Unity
|
||||
set { m_input.Position = value; }
|
||||
}
|
||||
|
||||
public AssetReader (Stream input, string name)
|
||||
public AssetReader (Stream input, string name) : this (BinaryStream.FromStream (input, name))
|
||||
{
|
||||
m_input = BinaryStream.FromStream (input, name);
|
||||
}
|
||||
|
||||
public AssetReader (IBinaryStream input)
|
||||
{
|
||||
m_input = input;
|
||||
SetupReaders (0, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user