Ejemplo n.º 1
0
        void OnEnable()
        {
            instance = this;
            this.autoRepaintOnSceneChange = true;

            this.minSize = new Vector2(236, 250);
            this.maxSize = new Vector2(236, 10000);

            rowBackgroundStyle = new GUIStyle();
            rowBackgroundStyle.normal.background = EditorGUIUtility.whiteTexture;

            LoadMaterialPalette(out materials);
        }
Ejemplo n.º 2
0
		void OnDisable()
		{
			instance = null;
		}
Ejemplo n.º 3
0
		void OnEnable()
		{
			instance = this;
			this.autoRepaintOnSceneChange = true;

			this.minSize = new Vector2(236, 250);
			this.maxSize = new Vector2(236, 10000);

			rowBackgroundStyle = new GUIStyle();
			rowBackgroundStyle.normal.background = EditorGUIUtility.whiteTexture;

			LoadMaterialPalette(out materials);
		}
Ejemplo n.º 4
0
 void OnDisable()
 {
     instance = null;
 }