private void OnSeek() { if (seekSlider != null && !isSeekWaiting) { float current = seekSlider.value; AVPlayerConnect.AVPlayerSeek(avPlayer, current); isSeekWaiting = true; seekSlider.value = current; } }