UnityEditor.ProceduralMaterialInspector.GeneratedTextures C# (CSharp) Method

GeneratedTextures() private method

private GeneratedTextures ( ) : void
return void
        private void GeneratedTextures()
        {
            if (base.targets.Length <= 1)
            {
                ProceduralPropertyDescription[] proceduralPropertyDescriptions = m_Material.GetProceduralPropertyDescriptions();
                foreach (ProceduralPropertyDescription description in proceduralPropertyDescriptions)
                {
                    if (description.name == "$outputsize")
                    {
                        this.m_AllowTextureSizeModification = true;
                        break;
                    }
                }
                string content = "Generated Textures";
                if (ShowIsGenerating(base.target as ProceduralMaterial))
                {
                    content = content + " (Generating...)";
                }
                EditorGUI.BeginChangeCheck();
                this.m_ShowTexturesSection = EditorGUILayout.Foldout(this.m_ShowTexturesSection, content, true);
                if (EditorGUI.EndChangeCheck())
                {
                    EditorPrefs.SetBool("ProceduralShowTextures", this.m_ShowTexturesSection);
                }
                if (this.m_ShowTexturesSection)
                {
                    this.ShowProceduralTexturesGUI(m_Material);
                    this.ShowGeneratedTexturesGUI(m_Material);
                    if (m_Importer != null)
                    {
                        if (this.HasProceduralTextureProperties(m_Material))
                        {
                            this.OffsetScaleGUI(m_Material);
                        }
                        GUILayout.Space(5f);
                        using (new EditorGUI.DisabledScope(EditorApplication.isPlaying))
                        {
                            this.ShowTextureSizeGUI();
                        }
                    }
                }
            }
        }