Files
fps_project_1/levels/switch_target.gd
2024-10-09 23:22:14 -05:00

16 lines
328 B
GDScript

extends StaticBody3D
signal switch_hit()
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func hit():
emit_signal("switch_hit")