input_prompts_center.gd 318 B

12345678910111213141516
  1. class_name InputPromptsCenter
  2. extends CenterContainer
  3. ## Manage the display of several inputs prompts
  4. func _on_title_screen_start_game() -> void:
  5. _enable()
  6. func _on_victory_menu_visibility_changed() -> void:
  7. queue_free()
  8. func _enable() -> void:
  9. set_visible(true)
  10. set_process_mode(Node.PROCESS_MODE_PAUSABLE)