6 lines
209 B
GDScript
6 lines
209 B
GDScript
extends Control
|
|
|
|
func _make_custom_tooltip(for_text)->Control:
|
|
var tooltip = preload("res://CustomTooltipInGame.tscn").instance()
|
|
tooltip.get_node("Node2D").get_node("Label").text = for_text
|
|
return tooltip
|