8 lines
86 B
GDScript
8 lines
86 B
GDScript
extends Node
|
|
class_name Interactable
|
|
|
|
signal on_hit
|
|
|
|
func hit()->void:
|
|
on_hit.emit()
|