mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 14:17:51 +08:00
Update CursorUnlocker.cs
This commit is contained in:
parent
dba9bdbdc2
commit
0bc14b2f76
@ -42,15 +42,15 @@ namespace UnityExplorer.Core.Input
|
|||||||
|
|
||||||
public static void Init()
|
public static void Init()
|
||||||
{
|
{
|
||||||
if (ConfigManager.Aggressive_Force_Unlock.Value)
|
|
||||||
SetupAggressiveUnlock();
|
|
||||||
|
|
||||||
SetupPatches();
|
SetupPatches();
|
||||||
|
|
||||||
UpdateCursorControl();
|
UpdateCursorControl();
|
||||||
|
|
||||||
Unlock = ConfigManager.Force_Unlock_Mouse.Value;
|
Unlock = ConfigManager.Force_Unlock_Mouse.Value;
|
||||||
ConfigManager.Force_Unlock_Mouse.OnValueChanged += (bool val) => { Unlock = val; };
|
ConfigManager.Force_Unlock_Mouse.OnValueChanged += (bool val) => { Unlock = val; };
|
||||||
|
|
||||||
|
if (ConfigManager.Aggressive_Force_Unlock.Value)
|
||||||
|
SetupAggressiveUnlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SetupAggressiveUnlock()
|
public static void SetupAggressiveUnlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user