async void SetClip(VideoPlayer player) { if (clip == null) { player.clip = clip; return; } if (useProxy && !ProxyClip) { await VideoEncoder.EncodeProxy(clip); AssetDatabase.Refresh(); } player.clip = useProxy ? ProxyClip : clip; SetTimelineClipLength(); }