UnityEditor.StandardShaderGUI.BlendModePopup C# (CSharp) Method

BlendModePopup() private method

private BlendModePopup ( ) : void
return void
        private void BlendModePopup()
        {
            EditorGUI.showMixedValue = this.blendMode.hasMixedValue;
            BlendMode floatValue = (BlendMode) ((int) this.blendMode.floatValue);
            EditorGUI.BeginChangeCheck();
            floatValue = (BlendMode) EditorGUILayout.Popup(Styles.renderingMode, (int) floatValue, Styles.blendNames, new GUILayoutOption[0]);
            if (EditorGUI.EndChangeCheck())
            {
                this.m_MaterialEditor.RegisterPropertyChangeUndo("Rendering Mode");
                this.blendMode.floatValue = (float) floatValue;
            }
            EditorGUI.showMixedValue = false;
        }