15 lines
350 B
GDScript
15 lines
350 B
GDScript
extends Node2D
|
|
|
|
@onready var _research_panel: ResearchPanel = $ResearchPanel
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
_research_panel.visible = false
|
|
|
|
func _on_area_2d_mouse_entered() -> void:
|
|
_research_panel.visible = true
|
|
|
|
|
|
func _on_area_2d_mouse_exited() -> void:
|
|
_research_panel.visible = false
|