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