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