ParticleSystemCurveEditor.PresetDropDown C# (CSharp) Method

PresetDropDown() private method

private PresetDropDown ( Rect rect ) : void
rect Rect
return void
    private void PresetDropDown(Rect rect)
    {
        if (EditorGUI.ButtonMouseDown(rect, EditorGUI.GUIContents.titleSettingsIcon, FocusType.Passive, EditorStyles.inspectorTitlebarText) && (this.CreateDoubleCurveFromTopMostCurve() != null))
        {
            this.InitDoubleCurvePresets();
            if (this.m_DoubleCurvePresets != null)
            {
                this.m_DoubleCurvePresets.doubleCurveToSave = this.CreateDoubleCurveFromTopMostCurve();
                PopupWindow.Show(rect, this.m_DoubleCurvePresets);
            }
        }
    }