time-sampling-form/godot/ProgressBar.gd

14 lines
262 B
GDScript3
Raw Normal View History

2022-11-01 09:28:59 +00:00
extends ProgressBar
2023-03-03 12:14:13 +00:00
@onready var global_ints = $"/root/GlobalInts"
2022-11-01 09:28:59 +00:00
func _ready():
pass # Replace with function body.
func _process(_delta):
value = global_ints.locked_observations_intervals_remaining
max_value = global_ints.locked_observation_intervals