void UpdateDrawData() { if (Event.current.type == EventType.Layout) { try { m_MarkerDrawOptions = m_Editor.GetMarkerOptions(marker); } catch (Exception e) { Debug.LogException(e); m_MarkerDrawOptions = CustomTimelineEditorCache.GetDefaultMarkerEditor().GetMarkerOptions(marker); } } }