init
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
extends Node2D
|
||||
|
||||
func _ready() -> void:
|
||||
$Container.size=get_viewport_rect().size
|
||||
|
||||
func set_tooltip(text: String) -> void:
|
||||
$Tooltip.text=text
|
||||
$Container/Tooltip.text=text
|
||||
|
||||
Reference in New Issue
Block a user