private void Init() { Instance = this; _configHandler = new StandaloneConfigHandler(); ExplorerCore.Init(this); }
internal void Init() { Instance = this; configHandler = new StandaloneConfigHandler(); ExplorerCore.Init(this); }
private void Init() { Instance = this; _configHandler = new StandaloneConfigHandler(); #if CPP ClassInjector.RegisterTypeInIl2Cpp <ExplorerBehaviour>(); var obj = new GameObject( "ExplorerBehaviour", new Il2CppSystem.Type[] { Il2CppType.Of <ExplorerBehaviour>() } ); #else var obj = new GameObject( "ExplorerBehaviour", new Type[] { typeof(ExplorerBehaviour) } ); #endif GameObject.DontDestroyOnLoad(obj); obj.hideFlags = HideFlags.HideAndDontSave; ExplorerCore.Init(this); }