private void InitializeGUI()
{
TextureImporterShape shape = TextureImporterShape.TextureCube | TextureImporterShape.Texture2D;
this.m_TextureTypeGUIElements[0] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.CubeMapping | TextureInspectorGUIElement.CubeMapConvolution | TextureInspectorGUIElement.ColorSpace | TextureInspectorGUIElement.AlphaHandling, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.Readable | TextureInspectorGUIElement.PowerOfTwo, shape);
this.m_TextureTypeGUIElements[1] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.CubeMapping | TextureInspectorGUIElement.NormalMap, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.Readable | TextureInspectorGUIElement.PowerOfTwo, shape);
this.m_TextureTypeGUIElements[8] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.Sprite, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.ColorSpace | TextureInspectorGUIElement.AlphaHandling | TextureInspectorGUIElement.Readable, TextureImporterShape.Texture2D);
this.m_TextureTypeGUIElements[4] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.CubeMapping | TextureInspectorGUIElement.Cookie | TextureInspectorGUIElement.AlphaHandling, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.Readable | TextureInspectorGUIElement.PowerOfTwo, TextureImporterShape.TextureCube | TextureImporterShape.Texture2D);
this.m_TextureTypeGUIElements[10] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.CubeMapping | TextureInspectorGUIElement.AlphaHandling, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.Readable | TextureInspectorGUIElement.PowerOfTwo, shape);
this.m_TextureTypeGUIElements[2] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.None, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.AlphaHandling | TextureInspectorGUIElement.Readable | TextureInspectorGUIElement.PowerOfTwo, TextureImporterShape.Texture2D);
this.m_TextureTypeGUIElements[7] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.None, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.AlphaHandling | TextureInspectorGUIElement.Readable | TextureInspectorGUIElement.PowerOfTwo, TextureImporterShape.Texture2D);
this.m_TextureTypeGUIElements[6] = new TextureInspectorTypeGUIProperties(TextureInspectorGUIElement.None, TextureInspectorGUIElement.MipMaps | TextureInspectorGUIElement.Readable | TextureInspectorGUIElement.PowerOfTwo, TextureImporterShape.Texture2D);
this.m_GUIElementMethods.Clear();
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.PowerOfTwo, new GUIMethod(this.POTScaleGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.Readable, new GUIMethod(this.ReadableGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.ColorSpace, new GUIMethod(this.ColorSpaceGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.AlphaHandling, new GUIMethod(this.AlphaHandlingGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.MipMaps, new GUIMethod(this.MipMapGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.NormalMap, new GUIMethod(this.BumpGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.Sprite, new GUIMethod(this.SpriteGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.Cookie, new GUIMethod(this.CookieGUI));
this.m_GUIElementMethods.Add(TextureInspectorGUIElement.CubeMapping, new GUIMethod(this.CubemapMappingGUI));
this.m_GUIElementsDisplayOrder.Clear();
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.CubeMapping);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.CubeMapConvolution);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.Cookie);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.ColorSpace);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.AlphaHandling);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.NormalMap);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.Sprite);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.PowerOfTwo);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.Readable);
this.m_GUIElementsDisplayOrder.Add(TextureInspectorGUIElement.MipMaps);
}