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