mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-01 19:13:03 +08:00
Update CursorUnlocker.cs
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user