Added godmode hotkey
This commit is contained in:
9
Controllers/GameplayController.gd
Normal file
9
Controllers/GameplayController.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
extends Node
|
||||
|
||||
static var godmode: bool = false:
|
||||
get:
|
||||
return godmode
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
if Input.is_action_just_pressed("controller_godmode"):
|
||||
godmode = !godmode
|
||||
1
Controllers/GameplayController.gd.uid
Normal file
1
Controllers/GameplayController.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://b4nlbrxto0tjp
|
||||
Reference in New Issue
Block a user