|
@@ -71,27 +71,20 @@ namespace GFGGame
|
|
|
{
|
|
|
base.OnShown();
|
|
|
_resultData = (StoryFightResultData)this.viewData;
|
|
|
- // Timers.inst.AddUpdate(UpdateToCheckGuide);
|
|
|
-
|
|
|
if (_sceneObject == null)
|
|
|
{
|
|
|
_sceneObject = GameObject.Instantiate(_scenePrefab);
|
|
|
}
|
|
|
-
|
|
|
+ InstanceZonesDataManager.usedRecommend = false;
|
|
|
SceneController.UpdateRole(EquipDataCache.cacher.equipDatas, _sceneObject);
|
|
|
+
|
|
|
_ui.m_txtScore.text = "" + _resultData.Score;
|
|
|
_ui.m_expBar.m_txtLvl.text = "" + GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl);
|
|
|
-
|
|
|
- RoleLevelCfg roleLevelCfg = RoleLevelCfgArray.Instance.GetCfg(GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl));
|
|
|
- // _ui.m_expBar.m_pbExp.max = roleLevelCfg.exp;
|
|
|
- // _ui.m_expBar.m_pbExp.value = GameGlobal.myNumericComponent.GetAsInt(NumericType.Exp);
|
|
|
-
|
|
|
StoryUtil.UpdateStar(_resultData.Star, _ui.m_flower.target);
|
|
|
|
|
|
string resPath = ResPathUtil.GetViewEffectPath("ui_zhandou", string.Format("zd_zdjs_{0}", _resultData.Star));
|
|
|
SceneController.AddObjectToView(_gameObject, _wrapper, _ui.m_holder, resPath, out _gameObject, out _wrapper, 120);
|
|
|
|
|
|
- // _ui.m_selfScore.m_bg.url = "ui://Main/zd_jsjm_jszi_" + _resultData.Star;
|
|
|
TextFormat tf = _ui.m_txtScore.textFormat;
|
|
|
UpdateToCheckGuide(null);
|
|
|
|