static ClipDrawOptions UpdateClipDrawOptions(ClipEditor clipEditor, TimelineClip clip) { try { return(clipEditor.GetClipOptions(clip)); } catch (Exception e) { Debug.LogException(e); } return(CustomTimelineEditorCache.GetDefaultClipEditor().GetClipOptions(clip)); }
public static bool HasCustomEditor(TimelineClip clip) { var editor = CustomTimelineEditorCache.GetClipEditor(clip); return(editor != CustomTimelineEditorCache.GetDefaultClipEditor()); }