mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
12 lines
154 B
GDScript
12 lines
154 B
GDScript
tool
|
|
extends HSlider
|
|
|
|
func _ready():
|
|
update_label(value)
|
|
|
|
func set_value(v):
|
|
.set_value(v)
|
|
update_label(v)
|
|
|
|
func update_label(v):
|
|
$Label.text = str(v) |