audioSlider.onDragFinished = OnFinishedCallBack; audioSlider.onChange.Add(new EventDelegate(OnChangeCallBack)); // 拖动结束回调 private void OnChangeCallBack() { } // 拖动过程中回调 private void OnFinishedCallBack() { }
audioSlider.onDragFinished = OnFinishedCallBack; audioSlider.onChange.Add(new EventDelegate(OnChangeCallBack)); // 拖动结束回调 private void OnChangeCallBack() { } // 拖动过程中回调 private void OnFinishedCallBack() { }