Demo: Hide code popup upon Showcase scene load

This commit is contained in:
Serhii Snitsaruk 2024-03-08 14:27:23 +01:00
parent fda6fd5b8f
commit f4ceb27b35
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ var is_tutorial: bool = false
func _ready() -> void:
code_popup.hide()
agent_selection.get_popup().id_pressed.connect(_on_agent_selection_id_pressed)
previous.pressed.connect(func(): _on_agent_selection_id_pressed(selected_tree_index - 1))
next.pressed.connect(func(): _on_agent_selection_id_pressed(selected_tree_index + 1))