You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
358 B
23 lines
358 B
@tool
|
|
extends Window
|
|
|
|
var info := {}
|
|
signal part_selected(info:Dictionary)
|
|
|
|
|
|
func _on_close_requested() -> void:
|
|
info = {}
|
|
part_selected.emit({})
|
|
hide()
|
|
|
|
|
|
func get_picked_info() -> Dictionary:
|
|
await part_selected
|
|
return info
|
|
|
|
|
|
func _on_style_browser_activate_part(part_info: Dictionary) -> void:
|
|
info = part_info
|
|
part_selected.emit(part_info)
|
|
hide()
|