add godot project scaffold: root scene, autoload, panel base, theme, icon
This commit is contained in:
parent
14e2343615
commit
ab147c6f9e
9 changed files with 69 additions and 0 deletions
24
scripts/panel_base.gd
Normal file
24
scripts/panel_base.gd
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
extends PanelContainer
|
||||
class_name PanelBase
|
||||
|
||||
|
||||
signal panel_activated
|
||||
signal panel_deactivated
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
|
||||
func activate() -> void:
|
||||
show()
|
||||
panel_activated.emit()
|
||||
|
||||
|
||||
func deactivate() -> void:
|
||||
hide()
|
||||
panel_deactivated.emit()
|
||||
|
||||
|
||||
func refresh(data: Dictionary) -> void:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue