material-maker/material_maker/nodes/debug/debug_popup.gd

6 lines
95 B
GDScript

extends Popup
func show_code(text : String) -> void:
$TextEdit.text = text
popup_centered()