13 lines
259 B
GDScript3
13 lines
259 B
GDScript3
|
extends Node2D
|
||
|
|
||
|
# class member variables go here, for example:
|
||
|
# var a = 2
|
||
|
# var b = "textvar"
|
||
|
|
||
|
func _ready():
|
||
|
# Called every time the node is added to the scene.
|
||
|
# Initialization here
|
||
|
pass
|
||
|
|
||
|
func set_message(text):
|
||
|
get_node('buttons/Label').set_text(text)
|