private void SendEvent(bool exitGUI)
{
if (this.m_DelegateView != null)
{
Event e = EditorGUIUtility.CommandEvent("ColorPickerChanged");
if (!this.m_IsOSColorPicker)
{
base.Repaint();
}
this.m_DelegateView.SendEvent(e);
if (!this.m_IsOSColorPicker && exitGUI)
{
GUIUtility.ExitGUI();
}
}
}