mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-26 10:03:10 +08:00
Add keybind for mouse unlock, and aggressive unlock mode
This commit is contained in:
@ -12,6 +12,7 @@ using UnityEngine.SceneManagement;
|
||||
using UnityEngine.UI;
|
||||
using UnityExplorer.Core;
|
||||
using UnityExplorer.Core.CSharp;
|
||||
using UnityExplorer.Core.Input;
|
||||
|
||||
namespace UnityExplorer.Core.Runtime.Mono
|
||||
{
|
||||
@ -26,6 +27,11 @@ namespace UnityExplorer.Core.Runtime.Mono
|
||||
DummyBehaviour.Setup();
|
||||
}
|
||||
|
||||
public override void SetupCameraDelegate()
|
||||
{
|
||||
Camera.onPostRender += CursorUnlocker.OnCameraPostRender;
|
||||
}
|
||||
|
||||
public override void SetupEvents()
|
||||
{
|
||||
Application.logMessageReceived += Application_logMessageReceived;
|
||||
|
Reference in New Issue
Block a user