| 
					
				 | 
			
			
				@@ -65,8 +65,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_comResult.m_c1.selectedIndex = _resultData.Star; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_comResult.m_txtScore.text = "" + _resultData.Score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comExpBar.m_txtLvl.text = string.Format("等级 {0}", GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            RoleInfoManager.Instance.UpdateHeadWithLv1(_ui.m_comExpBar.m_comHead, RoleDataManager.headId, RoleDataManager.headBorderId, RoleDataManager.lvl); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!this._resultData.Result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -80,7 +79,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 StoryLevelCfg _levelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comExpBar.m_txtLvlAdded.text = string.Format("经验值:+{0}", fightCfg.exp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_comExpBar.m_txtExpAdded.SetVar("value", fightCfg.exp.ToString()).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Field) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -88,9 +87,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_comExpBar.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 Timers.inst.Add(3, 1, OnClickBtnClose); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_t1.Play(AddExp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            AddExp(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void OnHide() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -103,9 +100,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             InstanceZonesDataManager.isResultFighting = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             MusicManager.Instance.Play(ResPathUtil.GetMusicPath(ConstMusicName.DEFAULT)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comResult.target.height = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comExpBar.target.alpha = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_t1.Stop(true, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private async void OnClickBtnClose(object param) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -142,26 +137,17 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void AddExp() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            int lv = GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comExpBar.m_txtLvl.text = string.Format("等级 {0}", GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             float exp = GameGlobal.myNumericComponent.GetAsInt(NumericType.Exp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            float cfgExp = RoleLevelCfgArray.Instance.GetCfg(lv).exp; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comExpBar.m_pbExp.m_title.text = string.Format("{0}/{1}", exp, cfgExp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            float initWidth = _ui.m_comExpBar.m_pbExp.m_bar.target.initWidth; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            float curWidth = _ui.m_comExpBar.m_pbExp.m_bar.target.width; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            float width = exp / cfgExp * initWidth; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (width <= curWidth) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            float cfgExp = RoleLevelCfgArray.Instance.GetCfg(RoleDataManager.lvl).exp; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_comExpBar.m_txtCurExp.text = exp.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_comExpBar.m_txtAllExp.text = cfgExp.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_comExpBar.m_proExp.max = cfgExp; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_comExpBar.m_proExp.value = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_comExpBar.m_proExp.TweenValue(exp, 0.2f).OnComplete(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comExpBar.m_pbExp.m_bar.target.width = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTween.To(_ui.m_comExpBar.m_pbExp.m_bar.target.width, width, 0.2f).SetTarget(_ui.m_comExpBar.m_pbExp.m_bar).OnUpdate((GTweener t) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    _ui.m_comExpBar.m_pbExp.m_bar.target.width = t.value.x; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }).OnComplete(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    InstanceZonesDataManager.isResultFighting = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // _ui.m_expBar.m_pbExp..TweenValue(exp, 0.2f); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                InstanceZonesDataManager.isResultFighting = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnClose.enabled = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateToCheckGuide(null); 
			 |