mirror of
https://github.com/Relintai/broken_seals_2ds.git
synced 2024-11-14 22:47:19 +01:00
13 lines
141 B
GDScript3
13 lines
141 B
GDScript3
|
tool
|
||
|
extends Button
|
||
|
|
||
|
export(int) var tab = 0
|
||
|
|
||
|
var _panel
|
||
|
|
||
|
func _pressed():
|
||
|
_panel.set_tab(tab)
|
||
|
|
||
|
func set_main_panel(panel):
|
||
|
_panel = panel
|