You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
222 B
GDScript
8 lines
222 B
GDScript
3 years ago
|
extends Area2D
|
||
|
|
||
|
func _on_OrbItem_area_shape_entered(area_id, area, area_shape, self_shape):
|
||
|
if area.name == "Player":
|
||
|
var dk = DashKey.new()
|
||
|
area.key_map[KEY_SHIFT] = dk.register(area)
|
||
|
get_tree().queue_delete(self)
|