mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
Finish GameObject Inspector, start Search page, some other UI changes/fixes
This commit is contained in:
1 parent
e175e9c438
commit
2efc3f6578
28 files changed
+2301
-1184
No files matched your search
+14
-6
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user