mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
1.8.2
* Added support for games which use the new InputSystem module and have disabled LegacyInputModule
This commit is contained in:
1 parent
5afaf85859
commit
b4b5f1ec93
10 files changed
+209
-94
No files matched your search
@@ -38,7 +38,7 @@ namespace Explorer
|
||||
//var r = GUILayoutUtility.GetLastRect();
|
||||
var r = Internal_LayoutUtility.GetLastRect();
|
||||
|
||||
var mousePos = InputHelper.mousePosition;
|
||||
var mousePos = InputHelper.MousePosition;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -125,7 +125,7 @@ namespace Explorer
|
||||
//var r = GUILayoutUtility.GetLastRect();
|
||||
var r = GUILayoutUtility.GetLastRect();
|
||||
|
||||
var mousePos = InputHelper.mousePosition;
|
||||
var mousePos = InputHelper.MousePosition;
|
||||
|
||||
var mouse = GUIUnstrip.ScreenToGUIPoint(new Vector2(mousePos.x, Screen.height - mousePos.y));
|
||||
if (r.Contains(mouse) && InputHelper.GetMouseButtonDown(0))
|
||||
|
||||
Reference in new issue
Block a user