Demo: Hide code popup upon Showcase scene load
This commit is contained in:
parent
fda6fd5b8f
commit
f4ceb27b35
|
@ -32,6 +32,8 @@ var is_tutorial: bool = false
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
code_popup.hide()
|
||||||
|
|
||||||
agent_selection.get_popup().id_pressed.connect(_on_agent_selection_id_pressed)
|
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))
|
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))
|
next.pressed.connect(func(): _on_agent_selection_id_pressed(selected_tree_index + 1))
|
||||||
|
|
Loading…
Reference in New Issue