broken_seals/game/addons/world_generator/ui/MainScreen.gd

15 lines
398 B
GDScript3
Raw Normal View History

2021-12-21 21:57:15 +01:00
tool
extends PanelContainer
var edited_world
func refresh() -> void:
$TabContainer/World/HSplitContainer/ResourcePropertyList.edit_resource(edited_world)
$TabContainer/World/VBoxContainer/DataList.set_edited_resource(edited_world)
2021-12-23 16:46:54 +01:00
$TabContainer/World/HSplitContainer/RectEditor.set_edited_resource(edited_world)
2021-12-21 21:57:15 +01:00
func set_wgworld(wgw : WorldGenWorld) -> void:
edited_world = wgw
refresh()