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

5 lines
94 B
GDScript

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