mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-10 05:53:55 +08:00
lots...
* Created a TMP AssetBundle for games which don't have the default TextMeshPro Resources package. This also allows us to use a custom monospace font for the Console and Debug window. * Unstripped the AssetBundle class (just the stuff we need) * Finished Search Page * Finished Options Page (very simple) * Various refactoring and restructuring of the project * cleanups
This commit is contained in:
@ -5,6 +5,7 @@ using UnityExplorer.UI;
|
||||
using UnityExplorer.UI.PageModel;
|
||||
using UnityEngine;
|
||||
using UnityExplorer.Inspectors;
|
||||
using System.IO;
|
||||
|
||||
namespace UnityExplorer
|
||||
{
|
||||
@ -28,6 +29,8 @@ namespace UnityExplorer
|
||||
"BepInEx";
|
||||
#endif
|
||||
|
||||
public const string EXPLORER_FOLDER = @"Mods\UnityExplorer";
|
||||
|
||||
public static ExplorerCore Instance { get; private set; }
|
||||
|
||||
public static bool ShowMenu
|
||||
@ -50,6 +53,9 @@ namespace UnityExplorer
|
||||
|
||||
Instance = this;
|
||||
|
||||
if (!Directory.Exists(EXPLORER_FOLDER))
|
||||
Directory.CreateDirectory(EXPLORER_FOLDER);
|
||||
|
||||
ModConfig.OnLoad();
|
||||
|
||||
InputManager.Init();
|
||||
@ -99,7 +105,7 @@ namespace UnityExplorer
|
||||
|
||||
if (ShowMenu)
|
||||
{
|
||||
ForceUnlockCursor.Update();
|
||||
//ForceUnlockCursor.Update();
|
||||
UIManager.Update();
|
||||
}
|
||||
}
|
||||
@ -140,14 +146,14 @@ namespace UnityExplorer
|
||||
{
|
||||
case LogType.Assert:
|
||||
case LogType.Log:
|
||||
Log(message);
|
||||
Log(message, true);
|
||||
break;
|
||||
case LogType.Warning:
|
||||
LogWarning(message);
|
||||
LogWarning(message, true);
|
||||
break;
|
||||
case LogType.Exception:
|
||||
case LogType.Error:
|
||||
LogError(message);
|
||||
LogError(message, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user