change _input to _unhandled_input in most classes
This commit is contained in:
@@ -5,7 +5,7 @@ func _ready() -> void:
|
||||
Referencer.main_loaded.connect(_on_referencer_main_loaded)
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("toggle_cursor_capture"):
|
||||
if Input.mouse_mode == Input.MOUSE_MODE_CAPTURED:
|
||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||
|
||||
Reference in New Issue
Block a user