6 lines
136 B
GDScript
6 lines
136 B
GDScript
extends Node2D
|
|
|
|
|
|
func _unhandled_input(event: InputEvent) -> void:
|
|
if event.is_action_pressed("interact"):
|
|
GameDirector.start_game()
|