UnityEditor.TerrainInspector.ShowTextures C# (CSharp) Method

ShowTextures() public method

public ShowTextures ( ) : void
return void
        public void ShowTextures()
        {
            bool flag;
            this.LoadSplatIcons();
            this.ShowBrushes();
            GUILayout.Label(styles.textures, EditorStyles.boldLabel, new GUILayoutOption[0]);
            GUI.changed = false;
            this.m_SelectedSplat = AspectSelectionGrid(this.m_SelectedSplat, this.m_SplatIcons, 0x40, styles.gridList, "No terrain textures defined.", out flag);
            if (flag)
            {
                TerrainSplatContextMenus.EditSplat(new MenuCommand(this.m_Terrain, this.m_SelectedSplat));
                GUIUtility.ExitGUI();
            }
            GUILayout.BeginHorizontal(new GUILayoutOption[0]);
            GUILayout.FlexibleSpace();
            this.MenuButton(styles.editTextures, "CONTEXT/TerrainEngineSplats", this.m_SelectedSplat);
            GUILayout.EndHorizontal();
            GUILayout.Label(styles.settings, EditorStyles.boldLabel, new GUILayoutOption[0]);
            this.ShowBrushSettings();
            this.m_SplatAlpha.value = EditorGUILayout.Slider("Target Strength", (float) this.m_SplatAlpha, 0f, 1f, new GUILayoutOption[0]);
        }