first commit

This commit is contained in:
2026-04-07 03:14:32 +03:00
commit b3992fec6b
1026 changed files with 366769 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using JusticeScale.Scripts;
using UnityEngine;
using UnityEngine.UI;
namespace JusticeScale.Demo.Scripts
{
public class SliderWeight : MonoBehaviour
{
[SerializeField] private ScaleController scaleController;
[SerializeField] private Text weightText;
public void SetWeightValue(float value)
{
scaleController.maxWeightDifference = value;
weightText.text = $"Max weight difference between scales set to {(int)value} kg";
}
}
}