移动和旋转

This commit is contained in:
2025-09-07 23:50:53 +08:00
parent deaca48bf3
commit debfcf41f4
64 changed files with 1017 additions and 810 deletions

View File

@@ -16,9 +16,9 @@ namespace NBF
protected override void OnShow()
{
InputManager.OnUICanceled += OnUICanceled;
InputManager.OnInteractiveObjectAction += OnInteractiveObjectAction;
InputManager.OnPlayerCanceled += OnPlayerCanceled;
Game.Input.OnUICanceled += OnUICanceled;
Game.Input.OnInteractiveObjectAction += OnInteractiveObjectAction;
Game.Input.OnPlayerCanceled += OnPlayerCanceled;
// InputManager.OnUseAction += OnUseAction;
// InputManager.OnUse2Action += OnUse2Action;
}
@@ -70,9 +70,9 @@ namespace NBF
protected override void OnHide()
{
base.OnHide();
InputManager.OnUICanceled -= OnUICanceled;
InputManager.OnInteractiveObjectAction -= OnInteractiveObjectAction;
InputManager.OnUICanceled -= OnPlayerCanceled;
Game.Input.OnUICanceled -= OnUICanceled;
Game.Input.OnInteractiveObjectAction -= OnInteractiveObjectAction;
Game.Input.OnUICanceled -= OnPlayerCanceled;
}
}
}