godot-third-person-basic-scene/addons/AMSG/Interactable/Interactable.gd

11 lines
143 B
GDScript3
Raw Normal View History

extends Node
class_name Interactable
func get_interaction_text():
return "Interact"
func interact():
print("Interacted with %s" % name)