17 lines
368 B
GDScript
17 lines
368 B
GDScript
extends RichTextLabel
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
Globals.release_display.connect(self._on_release_display)
|
|
text = Globals.colorize("RELEASE", "web_gray")
|
|
|
|
|
|
func _on_release_display(message:String):
|
|
text = message
|
|
|
|
|
|
#Resets to initial state
|
|
func reset():
|
|
text = Globals.colorize("RELEASE", "web_gray")
|