10 lines
226 B
GDScript3
10 lines
226 B
GDScript3
|
extends Label
|
||
|
|
||
|
|
||
|
func notify(notification_text):
|
||
|
text = notification_text
|
||
|
modulate = Color.WHITE
|
||
|
var tween = get_tree().create_tween()
|
||
|
|
||
|
tween.tween_property(self, "modulate", Color.TRANSPARENT, 1).set_ease(Tween.EASE_OUT)
|