Ejemplo n.º 1
0
 private void KnobControl(float val)
 {
     if (currrentSliceTarget)
     {
         currrentSliceTarget.MarkSlices(Mathf.RoundToInt(val * currrentSliceTarget.maxSlices));
         if (dropInfo)
         {
             dropInfo.SetText(currrentSliceTarget.SliceCount.ToString());
         }
     }
 }