Created tab for TwitchUserInfo
Displays the TwitchUserInfo to handle showing the saved user's twitch information.
This commit is contained in:
parent
9328ba2356
commit
f6c2def426
3 changed files with 35 additions and 0 deletions
12
UI/Controls/internal_twitch_user_info.gd
Normal file
12
UI/Controls/internal_twitch_user_info.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends PanelContainer
|
||||
@onready var tui := %TwitchUserInfo
|
||||
@onready var up := %UserPromo
|
||||
|
||||
var chatter: Chatter:
|
||||
set(value):
|
||||
chatter = value
|
||||
if not value: return
|
||||
if not tui: return
|
||||
tui.populate_from_chatter(chatter)
|
||||
if not up: return
|
||||
up.chatter = value
|
||||
Loading…
Add table
Add a link
Reference in a new issue