mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
93c84650cd
This also simplifies some functions. This partially addresses #30.
8 lines
228 B
GDScript
8 lines
228 B
GDScript
tool
|
|
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)
|