|
@@ -52,8 +52,8 @@ namespace GFGGame
|
|
|
this.Hide();
|
|
|
return;
|
|
|
}
|
|
|
- // string resPath = ResPathUtil.GetDressUpAnimationPath("ui_xjs");
|
|
|
- // SceneController.AddObjectToView(_effectObj, _wrapper, _ui.m_holder, resPath, out _effectObj, out _wrapper);
|
|
|
+ string resPath = ResPathUtil.GetViewEffectPath("ui_xjs", "ui_xjs");
|
|
|
+ SceneController.AddObjectToView(_effectObj, _wrapper, _ui.m_holder, resPath, out _effectObj, out _wrapper);
|
|
|
FunctionOpenCfg cfg = FunctionOpenCfgArray.Instance.GetCfg(_funList[0]);
|
|
|
_ui.m_ComFunctionOpen.m_txtName.text = cfg.name;
|
|
|
_ui.m_ComFunctionOpen.m_logIcon.url = ResPathUtil.GetCommonGameResPath(cfg.res);
|