audioSlider.onDragFinished = OnFinishedCallBack; audioSlider.onChange.Add(new EventDelegate(OnChangeCallBack)); // 拖动结束回调 private void OnChangeCallBack() { } // 拖动过程中回调 private void OnFinishedCallBack() { }
时间: 2024-11-06 18:39:15
audioSlider.onDragFinished = OnFinishedCallBack; audioSlider.onChange.Add(new EventDelegate(OnChangeCallBack)); // 拖动结束回调 private void OnChangeCallBack() { } // 拖动过程中回调 private void OnFinishedCallBack() { }