UnityEditor.TextureInspector.DoWrapModePopup C# (CSharp) Method

DoWrapModePopup() protected method

protected DoWrapModePopup ( ) : void
return void
        protected void DoWrapModePopup()
        {
            EditorGUI.BeginChangeCheck();
            EditorGUI.showMixedValue = this.m_WrapMode.hasMultipleDifferentValues;
            TextureWrapMode intValue = (TextureWrapMode) this.m_WrapMode.intValue;
            intValue = (TextureWrapMode) EditorGUILayout.EnumPopup(EditorGUIUtility.TempContent("Wrap Mode"), intValue, new GUILayoutOption[0]);
            EditorGUI.showMixedValue = false;
            if (EditorGUI.EndChangeCheck())
            {
                this.m_WrapMode.intValue = (int) intValue;
            }
        }