11 lines
143 B
GDScript3
11 lines
143 B
GDScript3
|
extends Node
|
||
|
class_name Interactable
|
||
|
|
||
|
func get_interaction_text():
|
||
|
return "Interact"
|
||
|
|
||
|
|
||
|
func interact():
|
||
|
print("Interacted with %s" % name)
|
||
|
|