diff --git a/UnityProject/Assets/Scripts/Math/Threshold.cs b/UnityProject/Assets/Scripts/Math/Threshold.cs index aa5409d..e627742 100644 --- a/UnityProject/Assets/Scripts/Math/Threshold.cs +++ b/UnityProject/Assets/Scripts/Math/Threshold.cs @@ -5,13 +5,14 @@ namespace cylvester { public class Threshold : MonoBehaviour { + [SerializeField] private float input; [SerializeField] private float threshold; [SerializeField] private UnityEvent thresholdExceeded; private bool over_; public void OnValueReceived(float value) { - Debug.Log(value); + input = value; if (value > threshold && !over_) { over_ = true;