mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 06:09:46 +03: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()
|