Пример #1
0
 public void SetValue(float value)
 {
     AudioTools.Limit(ref value, _min, _max);
     _seekTarget = RTPManager.CalculateNewValueRange(value, 0f, 1f, _min, _max);
 }
Пример #2
0
 public float GetCurrentValue()
 {
     return(RTPManager.CalculateNewValueRange(_value, _min, _max, 0f, 1f));
 }
Пример #3
0
 public float GetValue()
 {
     return(RTPManager.CalculateNewValueRange(_seekTarget, _min, _max, 0f, 1f));
 }