Finish GameObject Inspector, start Search page, some other UI changes/fixes

This commit is contained in:
sinaioutlander committed 2020-11-06 20:42:16 +11:00
1 parent e175e9c438
commit 2efc3f6578
28 files changed
+2301 -1184

No files matched your search

+14 -6
View File
@@ -4,6 +4,7 @@ using UnityExplorer.Input;
using UnityExplorer.UI;
using UnityExplorer.UI.PageModel;
using UnityEngine;
using UnityExplorer.Inspectors;
namespace UnityExplorer
{
@@ -87,13 +88,20 @@ namespace UnityExplorer
if (!m_doneUIInit)
CheckUIInit();
if (InputManager.GetKeyDown(ModConfig.Instance.Main_Menu_Toggle))
ShowMenu = !ShowMenu;
if (ShowMenu)
if (MouseInspector.Enabled)
{
ForceUnlockCursor.Update();
UIManager.Update();
MouseInspector.UpdateInspect();
}
else
{
if (InputManager.GetKeyDown(ModConfig.Instance.Main_Menu_Toggle))
ShowMenu = !ShowMenu;
if (ShowMenu)
{
ForceUnlockCursor.Update();
UIManager.Update();
}
}
}