StickerClone/addons/dialogic/Editor/Common/hint_tooltip_icon.gd
2024-07-23 12:06:59 +02:00

9 lines
217 B
GDScript

@tool
extends TextureRect
@export_multiline var hint_text = ""
func _ready():
texture = get_theme_icon("NodeInfo", "EditorIcons")
modulate = get_theme_color("contrast_color_1", "Editor")
tooltip_text = hint_text