/// <summary>
 /// 加载配置
 /// </summary>
 public void LoadConfig()
 {
     _cfg = EditorConfigUtil.LoadConfig <HotResConfigVO>(CONFIG_NAME);
     if (null == _cfg)
     {
         _cfg = new HotResConfigVO();
     }
 }
Esempio n. 2
0
 private void OnEnable()
 {
     _model = new HotResPublishModel();
     _cfg   = _model.Cfg;
 }