FPS Controller
This commit is contained in:
8
demo/assets/scripts/system/game_manager.gd
Normal file
8
demo/assets/scripts/system/game_manager.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
class_name GameManager extends Node
|
||||
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("dev_exit"):
|
||||
get_tree().quit()
|
||||
if event.is_action_pressed("dev_reload"):
|
||||
get_tree().reload_current_scene()
|
||||
1
demo/assets/scripts/system/game_manager.gd.uid
Normal file
1
demo/assets/scripts/system/game_manager.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cfyv1loyjisg3
|
||||
Reference in New Issue
Block a user