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