mirror of
https://github.com/Relintai/rsc_rpg.git
synced 2025-04-22 05:51:17 +02:00
13 lines
141 B
GDScript
13 lines
141 B
GDScript
tool
|
|
extends Button
|
|
|
|
export(int) var tab = 0
|
|
|
|
var _panel
|
|
|
|
func _pressed():
|
|
_panel.set_tab(tab)
|
|
|
|
func set_main_panel(panel):
|
|
_panel = panel
|