12 lines
321 B
GDScript
12 lines
321 B
GDScript
extends Node2D
|
|
|
|
@export var operationTip = "操作步骤描述"
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
$PanelContainer/VBoxContainer/Control/Label.text = operationTip
|
|
|
|
|
|
func updateOperationTip(desc):
|
|
operationTip = desc
|
|
$PanelContainer/VBoxContainer/Control2/Label.text = desc
|