Доделал настройку скорости, добавил иконки на катушки с материалом

This commit is contained in:
FreshMix committed 2026-06-18 19:07:03 +03:00
1 parent a3cccd5530
commit 080f5fce79
11 files changed
+17530 -10964

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class SliderNumToTextScript : MonoBehaviour
{
TextMeshProUGUI textMesh;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
textMesh = GetComponent<TextMeshProUGUI>();
}
public void OnValueChanged(Slider slider) {
textMesh.text = slider.value + " %";
}
// Update is called once per frame
void Update()
{
}
}