mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 22:05:53 +00:00
10 lines
229 B
GDScript3
10 lines
229 B
GDScript3
|
|
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)
|