移动和旋转
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user