static ClipDrawOptions UpdateClipDrawOptions(ClipEditor clipEditor, TimelineClip clip)
        {
            try
            {
                return(clipEditor.GetClipOptions(clip));
            }
            catch (Exception e)
            {
                Debug.LogException(e);
            }

            return(CustomTimelineEditorCache.GetDefaultClipEditor().GetClipOptions(clip));
        }
示例#2
0
        public static bool HasCustomEditor(TimelineClip clip)
        {
            var editor = CustomTimelineEditorCache.GetClipEditor(clip);

            return(editor != CustomTimelineEditorCache.GetDefaultClipEditor());
        }