You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 line
206 B

  1. extends Node
  2. class_name BaseLevel
  3. func _enter_tree():
  4. Controller.player_input_enabled = true
  5. func _exit_tree():
  6. Controller.player_input_enabled = false
  7. Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)