Exemple #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);
        }
		void OnDisable()
		{
			instance = null;
		}
		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);
		}
Exemple #4
0
 void OnDisable()
 {
     instance = null;
 }