/* * 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(); }
/* * 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(); } }