broken_seals/game/addons/module_manager/panels/FolderEntryButton.gd

13 lines
141 B
GDScript3
Raw Normal View History

tool
extends Button
export(int) var tab = 0
var _panel
func _pressed():
_panel.set_tab(tab)
func set_main_panel(panel):
_panel = panel