cirnogodot/Resources/Styles/VN_Dialogue_Box/VisualNovelTextbox/autoadvance_indicator.gd
2025-03-17 23:16:22 +01:00

13 lines
274 B
GDScript

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()