Made instance inspector helper (owner gameobject/name), force loading unhollowed Assembly-CSharp on game start

This commit is contained in:
sinaioutlander
2020-11-19 16:47:18 +11:00
parent e77e4cce07
commit 97dbecaa2a
5 changed files with 127 additions and 38 deletions

View File

@ -8,13 +8,14 @@ using UnityExplorer.Inspectors;
using System.IO;
using UnityExplorer.Unstrip;
using UnityEngine.SceneManagement;
using UnityExplorer.Helpers;
namespace UnityExplorer
{
public class ExplorerCore
{
public const string NAME = "UnityExplorer";
public const string VERSION = "3.0.1";
public const string VERSION = "3.0.2";
public const string AUTHOR = "Sinai";
public const string GUID = "com.sinai.unityexplorer";
public const string EXPLORER_FOLDER = @"Mods\UnityExplorer";
@ -41,6 +42,10 @@ namespace UnityExplorer
Instance = this;
#if CPP
ReflectionHelpers.TryLoadGameModules();
#endif
if (!Directory.Exists(EXPLORER_FOLDER))
Directory.CreateDirectory(EXPLORER_FOLDER);