/*
		* Init
		*/
		void OnEnable()
		{
			hideFlags = HideFlags.HideAndDontSave;

			if (m_ImportCustomFontSection == null) m_ImportCustomFontSection = new ImportCustomFontSection();
			if (m_ImportWebFontSection == null) m_ImportWebFontSection = new ImportWebFontSection();
			if (m_ImportFontParametersSection == null) m_ImportFontParametersSection = new ImportFontParametersSection();
		}
Example #2
0
        /*
         * Init
         */
        void OnEnable()
        {
            hideFlags = HideFlags.HideAndDontSave;

            if (m_ImportCustomFontSection == null)
            {
                m_ImportCustomFontSection = new ImportCustomFontSection();
            }
            if (m_ImportWebFontSection == null)
            {
                m_ImportWebFontSection = new ImportWebFontSection();
            }
            if (m_ImportFontParametersSection == null)
            {
                m_ImportFontParametersSection = new ImportFontParametersSection();
            }
        }