Files
uarep-ctl/tab_container_stc.gd

23 lines
470 B
GDScript

extends TabContainer
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
pass
func _on_tab_changed(tab):
if tab == 7:
$Panel8/VideoStreamPlayer.play()
else:
$Panel8/VideoStreamPlayer.stop()
func _on_video_stream_player_finished():
$Panel8/VideoStreamPlayer.play()