mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
7 lines
223 B
GDScript
7 lines
223 B
GDScript
extends HBoxContainer
|
|
|
|
func connect_buttons(object, edit_fct, load_fct, save_fct) -> void:
|
|
$Edit.connect("pressed", object, edit_fct)
|
|
$Load.connect("pressed", object, load_fct)
|
|
$Save.connect("pressed", object, save_fct)
|