Refactor MonoBehaviour reading

This commit is contained in:
Perfare
2020-08-14 00:02:59 +08:00
parent efbab7c43a
commit 9b2c85bcae
18 changed files with 727 additions and 524 deletions

View File

@ -8,7 +8,7 @@ namespace AssetStudio
public sealed class MonoScript : NamedObject
{
public string m_ClassName;
public string m_Namespace = string.Empty;
public string m_Namespace;
public string m_AssemblyName;
public MonoScript(ObjectReader reader) : base(reader)

View File

@ -43,7 +43,6 @@ namespace AssetStudio
public string Dump()
{
reader.Reset();
if (serializedType?.m_Nodes != null)
{
var sb = new StringBuilder();