|
@@ -76,6 +76,7 @@ namespace GFGGame
|
|
|
_sceneObject = GameObject.Instantiate(_scenePrefab);
|
|
|
}
|
|
|
InstanceZonesDataManager.usedRecommend = false;
|
|
|
+ InstanceZonesDataManager.isResultFighting = true;
|
|
|
SceneController.UpdateRole(EquipDataCache.cacher.equipDatas, _sceneObject);
|
|
|
|
|
|
_ui.m_txtScore.text = "" + _resultData.Score;
|
|
@@ -104,6 +105,7 @@ namespace GFGGame
|
|
|
_ui.m_expBar.m_txtLvlAdded.text = "0";
|
|
|
_ui.m_expBar.target.visible = false;
|
|
|
_ui.m_btnClose.enabled = true;
|
|
|
+ InstanceZonesDataManager.isResultFighting = false;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -124,6 +126,7 @@ namespace GFGGame
|
|
|
protected override void OnHide()
|
|
|
{
|
|
|
base.OnHide();
|
|
|
+ InstanceZonesDataManager.isResultFighting = false;
|
|
|
Timers.inst.Remove(AddExp);
|
|
|
if (_sceneObject != null)
|
|
|
{
|
|
@@ -185,6 +188,9 @@ namespace GFGGame
|
|
|
GTween.To(_ui.m_expBar.m_pbExp.m_bar.target.width, width, 0.2f).SetTarget(_ui.m_expBar.m_pbExp.m_bar).OnUpdate((GTweener t) =>
|
|
|
{
|
|
|
_ui.m_expBar.m_pbExp.m_bar.target.width = t.value.x;
|
|
|
+ }).OnComplete(() =>
|
|
|
+ {
|
|
|
+ InstanceZonesDataManager.isResultFighting = false;
|
|
|
}); ;
|
|
|
// _ui.m_expBar.m_pbExp..TweenValue(exp, 0.2f);
|
|
|
_ui.m_btnClose.enabled = true;
|