many many things
fixed cyber turning added legs for pasqually and jasper optimized stage loading code fixed ui bugs
This commit is contained in:
parent
00183ca308
commit
01caec7e55
25 changed files with 1224 additions and 989 deletions
|
@ -3,14 +3,15 @@ extends Control
|
|||
@export var vis_name: String
|
||||
@export var scene_handle: String
|
||||
@export var options: Dictionary
|
||||
@export var drop_index: int = 0
|
||||
|
||||
func _ready() -> void:
|
||||
$Panel/Label.text = vis_name
|
||||
for option in options:
|
||||
$Panel/OptionButton.add_item(option)
|
||||
$Panel/OptionButton.select(0)
|
||||
for adjusted in options[$Panel/OptionButton.get_item_text(0)]:
|
||||
get_node(scene_handle+adjusted).visible = options[$Panel/OptionButton.get_item_text(0)][adjusted]
|
||||
$Panel/OptionButton.select(drop_index)
|
||||
for adjusted in options[$Panel/OptionButton.get_item_text(drop_index)]:
|
||||
get_node(scene_handle+adjusted).visible = options[$Panel/OptionButton.get_item_text(drop_index)][adjusted]
|
||||
|
||||
|
||||
func _on_option_button_item_selected(index: int) -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue