summaryrefslogtreecommitdiff
path: root/Dialogs/VisualNovelTextbox/autoadvance_indicator.gd
blob: fa8bbffcbcf44116b8ce38cbe7d55c921d5b0ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extends Range

var enabled : bool = true

func _process(_delta : float) -> void:
	if !enabled:
		hide()
		return
	if DialogicUtil.autoload().Inputs.auto_advance.get_progress() < 0:
		hide()
	else:
		show()
		value = DialogicUtil.autoload().Inputs.auto_advance.get_progress()