* 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:
sinaioutlander
2020-11-08 21:04:41 +11:00
parent 2efc3f6578
commit d038d13867
25 changed files with 1604 additions and 947 deletions

View File

@ -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;
}
}