mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 18:55:54 +00:00
10 lines
No EOL
229 B
GDScript
10 lines
No EOL
229 B
GDScript
extends Label
|
|
|
|
@export var range_control : Range
|
|
|
|
func _ready():
|
|
range_control.value_changed.connect(_set_displayed_value)
|
|
_set_displayed_value(range_control.value)
|
|
|
|
func _set_displayed_value(_value: float):
|
|
text = str(_value) |