protected void ShowGeneratedTexturesGUI(ProceduralMaterial material)
{
if ((base.targets.Length <= 1) && ((m_Importer == null) || m_Importer.GetGenerateAllOutputs(m_Material)))
{
GUIStyle style = "ObjectPickerResultsGridLabel";
EditorGUILayout.Space();
GUILayout.FlexibleSpace();
GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.Height(((64f + style.fixedHeight) + style.fixedHeight) + 16f) };
this.m_ScrollPos = EditorGUILayout.BeginScrollView(this.m_ScrollPos, options);
EditorGUILayout.BeginHorizontal(new GUILayoutOption[0]);
GUILayout.FlexibleSpace();
float pixels = 10f;
Texture[] generatedTextures = material.GetGeneratedTextures();
foreach (Texture texture in generatedTextures)
{
ProceduralTexture texture2 = texture as ProceduralTexture;
if (texture2 != null)
{
GUILayout.Space(pixels);
GUILayoutOption[] optionArray2 = new GUILayoutOption[] { GUILayout.Height((64f + style.fixedHeight) + 8f) };
GUILayout.BeginVertical(optionArray2);
Rect position = GUILayoutUtility.GetRect((float) 64f, (float) 64f);
DoObjectPingField(position, position, GUIUtility.GetControlID(0x3042, FocusType.Keyboard, position), texture2, typeof(Texture));
this.ShowAlphaSourceGUI(material, texture2, ref position);
GUILayout.EndVertical();
GUILayout.Space(pixels);
GUILayout.FlexibleSpace();
}
}
EditorGUILayout.EndHorizontal();
EditorGUILayout.EndScrollView();
}
}