|
@@ -9,7 +9,8 @@ namespace GFGGame
|
|
|
{
|
|
|
private UI_FunctionOpenUI _ui;
|
|
|
List<string> _funList = new List<string>();
|
|
|
-
|
|
|
+ private GameObject _effectObj;
|
|
|
+ private GoWrapper _wrapper;
|
|
|
public override void Dispose()
|
|
|
{
|
|
|
base.Dispose();
|
|
@@ -32,9 +33,6 @@ namespace GFGGame
|
|
|
List<string> funList = (viewData as object) as List<string>;
|
|
|
AddFunDatas(funList);
|
|
|
UpdateFunIcon();
|
|
|
- // _ui.m_t0.Play(UpdateFunIcon);
|
|
|
- // Timers.inst.Remove(UpdateFunIcon);
|
|
|
- // Timers.inst.Add(1.5f, _funList.Count, UpdateFunIcon);
|
|
|
}
|
|
|
|
|
|
private void AddFunDatas(List<string> itemList)
|
|
@@ -54,6 +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);
|
|
|
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);
|