utilities_gamedev/world_generator/ui/RectEditor.gd

13 lines
310 B
GDScript

tool
extends PanelContainer
func _init():
# Control/EditorZoomWidget
pass
func set_plugin(plugin : EditorPlugin) -> void:
$ScrollContainer/MarginContainer/RectView.set_plugin(plugin)
func set_edited_resource(res : WorldGenBaseResource):
$ScrollContainer/MarginContainer/RectView.set_edited_resource(res)