Esempio n. 1
0
		protected void OnEnable()
		{
			this.m_SPInstance = this.target as SPInstance;
			this.m_AtlasBuilder = new SPAtlasBuilder(this.m_SPInstance);
			
			SPTools.PrepareDefaultEditorPrefs();
			
			this.boxStyle = new GUIStyle(EditorGUIUtility.GetBuiltinSkin(EditorSkin.Inspector).box);
			this.paddingStyle = new GUIStyle();
			this.paddingStyle.padding = new RectOffset(3, 3, 3, 3);
		}
 protected void OnDisable()
 {
     this.m_AtlasBuilder = null;
     this.m_SPInstance = null;
 }