private void OnEnable() { m_ModuleInfo = Tools_Public.ReadDate <ModuleDate>("ModuleInfo"); if (m_ModuleInfo == null) { m_ModuleInfo = new ModuleDate(); m_ModuleInfo.Init(); } }
internal override void OnEnable(EditorWindow editor) { m_date = Tools_Public.ReadDate <LanguageDate>(filepath); if (m_date == null) { m_date = new LanguageDate(); m_date.languagepath = ""; m_date.excelpath = ""; } if (m_date.languagepath == null) { m_date.languagepath = ""; } if (m_date.excelpath == null) { m_date.excelpath = ""; } }
internal void OnEnable() { m_TabData = Tools_Public.ReadDate <FileTemplateTabData>("FileTemplate"); if (m_TabData == null) { InitDate(); } if (m_FileSetting != null) { m_FileSetting.OnEnable(this); } if (m_FilePrevew != null) { m_FilePrevew.OnEnable(this); } }