Files
leanCLR_gdext/project/scripts/HotReloadInputRelay.gd
T

11 lines
242 B
GDScript
Raw Normal View History

2026-05-10 22:29:56 +08:00
extends Node
@onready var hot_reload_host: Node = get_node("../LiveHotReloadHost")
func _ready() -> void:
set_process_input(true)
func _input(event: InputEvent) -> void:
if hot_reload_host != null:
hot_reload_host.forward_input(event)