mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 16:00:08 +01:00
7 lines
119 B
GDScript
7 lines
119 B
GDScript
extends Node2D
|
|
|
|
|
|
func _on_prince_area_body_enter(body):
|
|
if (body.get_name() == "cubio"):
|
|
get_node("message").show()
|