Replace _input with _unhandled_input

This commit is contained in:
Aaron Franke
2020-06-08 22:43:19 -04:00
parent d1ed6dbd82
commit 5f1905e0d6
19 changed files with 91 additions and 28 deletions

View File

@@ -10,7 +10,7 @@ func _process(delta):
# The 'click' event is a custom input action defined in
# Project > Project Settings > Input Map tab.
func _input(event):
func _unhandled_input(event):
if not event.is_action_pressed("click"):
return
_update_navigation_path($Character.position, get_local_mouse_position())