5 lines
110 B
GDScript
5 lines
110 B
GDScript
extends Area2D
|
|
|
|
# Attach this to an object to make it destructible
|
|
func destroy():
|
|
get_parent().queue_free()
|