From 907db5cd5057817e7f223eb77123b0cb112c973e Mon Sep 17 00:00:00 2001 From: Federico Ciuffardi Date: Thu, 14 Mar 2024 22:35:40 -0300 Subject: [PATCH] Change InputManager event handling to _input --- InputManager.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InputManager.gd b/InputManager.gd index b21c120..630fb78 100644 --- a/InputManager.gd +++ b/InputManager.gd @@ -126,7 +126,7 @@ func _ready() -> void: # _set_default_action("twist_clockwise" , _native_mouse_button_event(MOUSE_BUTTON_WHEEL_UP)) # TODO # _set_default_action("twist_counterclockwise" , _native_mouse_button_event(MOUSE_BUTTON_WHEEL_DOWN)) # TODO -func _unhandled_input(event : InputEvent) -> void: +func _input(event : InputEvent) -> void: if event is InputEventScreenDrag: _handle_screen_drag(event) elif event is InputEventScreenTouch: