12 lines
147 B
GDScript3
12 lines
147 B
GDScript3
|
extends Panel
|
||
|
|
||
|
func _ready():
|
||
|
owner.login.connect(on_login)
|
||
|
owner.logout.connect(on_logout)
|
||
|
|
||
|
func on_login():
|
||
|
hide()
|
||
|
|
||
|
func on_logout():
|
||
|
show()
|