gd: added input addon

This commit is contained in:
2025-05-27 19:20:46 +02:00
parent d8a1604af9
commit c8d8c7ec25
683 changed files with 21608 additions and 2 deletions

View File

@ -0,0 +1,15 @@
extends Node
var _inputs_to_reset:Array[GUIDEInput] = []
func _enter_tree() -> void:
# this should run at the end of the frame, so we put in a low priority (= high number)
process_priority = 10000000
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
for input:GUIDEInput in _inputs_to_reset:
input._reset()
GUIDE._input_state._reset()