mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
8 lines
164 B
GDScript
8 lines
164 B
GDScript
extends Node2D
|
|
|
|
|
|
func _on_princess_body_enter(body):
|
|
# The name of this editor-generated callback is unfortunate
|
|
if body.get_name() == "player":
|
|
$youwin.show()
|