various improvements to reflection inspector and C# console

This commit is contained in:
sinaioutlander
2020-11-12 16:15:41 +11:00
parent 2077601464
commit a7f86227fb
28 changed files with 656 additions and 420 deletions

View File

@ -237,8 +237,11 @@ namespace UnityExplorer.Helpers
#endif
}
public static string ExceptionToString(Exception e)
public static string ExceptionToString(Exception e, bool innerMost = false)
{
while (innerMost && e.InnerException != null)
e = e.InnerException;
return e.GetType() + ", " + e.Message;
}
}