7 lines
125 B
GDScript
7 lines
125 B
GDScript
extends StaticBody2D
|
|
|
|
signal player_entered_gate(body)
|
|
|
|
func _on_area_2d_body_entered(body):
|
|
player_entered_gate.emit(body)
|