| 
					
				 | 
			
			
				@@ -1,803 +1,803 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-using FairyGUI; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-using UnityEngine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-using UI.Main; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-using System.Collections; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-using System; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-using System.Collections.Generic; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// using FairyGUI; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// using UnityEngine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// using UI.Main; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// using System.Collections; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// using System; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// using System.Collections.Generic; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public class StoryFightTargetScoreView : BaseView 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private UI_StoryFightTargetScoreUI _ui; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _sceneObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _scenePrefab; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private double _targetScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private double _score;//当前总分数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private int _partId;//当前评分part 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private double _skillScore = 0;//当前卡牌技能分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private bool _showCard = false;//当前是否显示卡牌技能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private double _mainScore;//总主属性分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private double _targetMainScore;//战斗目标总主属性分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private const int _range = 30;//圆圈随机范围 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private int _currentTime = BeginTime.PART_FIGHT_BEGIN; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private int _skillCount; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private float _speed = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private bool _isAutoPlay = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private StoryLevelCfg _levelCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject8; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper8; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject9; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper9; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject10; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper10; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject11; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper11; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject12; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper12; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject13; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper13; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject14; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper14; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject15; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper15; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject16; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper16; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject17; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper17; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject18; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper18; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GameObject _gameObject19; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GoWrapper _wrapper19; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private List<GameObject> _gameObjects = new List<GameObject>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private List<GoWrapper> _wrappers = new List<GoWrapper>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private List<LongPressGesture> _listLongPress = new List<LongPressGesture>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // private GoWrapper _wrapper5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // private Dictionary<int, RoleSkillCfg> _npcSkillDic; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private bool playStop = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public override void Dispose() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_sceneObject != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GameObject.Destroy(_sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _sceneObject = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject0, _wrapper0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject1, _wrapper1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject2, _wrapper2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject3, _wrapper3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject4, _wrapper4); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject5, _wrapper5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject6, _wrapper6); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject7, _wrapper7); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject8, _wrapper8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject9, _wrapper9); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject11, _wrapper11); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject12, _wrapper12); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject13, _wrapper13); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject14, _wrapper14); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject15, _wrapper15); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject16, _wrapper16); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject17, _wrapper17); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject18, _wrapper18); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.DestroyObjectFromView(_gameObject19, _wrapper19); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (int i = 0; i < _gameObjects.Count; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                SceneController.DestroyObjectFromView(_gameObjects[i], _wrappers[i]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (int i = 0; i < _listLongPress.Count; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _listLongPress[i].Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _listLongPress.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_ui != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            base.Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void AddEffect() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath0 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_hd_sc"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject0, null, _ui.m_ComShieldMine.m_holder, resPath0, out _gameObject0, out GoWrapper _wrapper0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject2, null, _ui.m_ComShieldNpc.m_holder, resPath0, out _gameObject2, out GoWrapper _wrapper2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_hd_ps"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject1, null, _ui.m_ComShieldMine.m_holder1, resPath1, out _gameObject1, out GoWrapper _wrapper1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject3, null, _ui.m_ComShieldNpc.m_holder1, resPath1, out _gameObject3, out GoWrapper _wrapper3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath2 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_tg"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject4, null, _ui.m_ComRoleSkillMineAdd.m_holder, resPath2, out _gameObject4, out GoWrapper _wrapper4, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject5, null, _ui.m_ComRoleSkillNpcAdd.m_holder, resPath2, out _gameObject5, out GoWrapper _wrapper5, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath5 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_jc"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject7, null, _ui.m_ComRoleSkillMineMinus.m_holder, resPath5, out _gameObject7, out GoWrapper _wrapper7, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject8, null, _ui.m_ComRoleSkillNpcMinus.m_holder, resPath5, out _gameObject8, out GoWrapper _wrapper8, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath6 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_dz"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject9, null, _ui.m_ComRoleSkillMineBreak.m_holder, resPath6, out _gameObject9, out GoWrapper _wrapper9, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject10, null, _ui.m_ComRoleSkillNpcBreak.m_holder, resPath6, out _gameObject10, out GoWrapper _wrapper10, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath7 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_jy"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject11, null, _ui.m_ComRoleSkillMineShield.m_holder, resPath7, out _gameObject11, out GoWrapper _wrapper11, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject12, null, _ui.m_ComRoleSkillNpcShield.m_holder, resPath7, out _gameObject12, out GoWrapper _wrapper12, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath8 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_cheng"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject13, null, _ui.m_comMineCircle.m_holder, resPath8, out _gameObject13, out GoWrapper _wrapper13, 59); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath8_1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_lv_sr"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject14, null, _ui.m_comTargetCircle.m_holder, resPath8_1, out _gameObject14, out GoWrapper _wrapper14, 59); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath9 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_tw"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject15, null, _ui.m_holderPartScore, resPath9, out _gameObject15, out GoWrapper _wrapper15); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject16, null, _ui.m_holderPartScoreNpc, resPath9, out _gameObject16, out GoWrapper _wrapper16); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject17, null, _ui.m_holderAddScore, resPath9, out _gameObject17, out GoWrapper _wrapper17); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject18, null, _ui.m_holderAddScoreNpc, resPath9, out _gameObject18, out GoWrapper _wrapper18); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath10 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_cz"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject19, null, _ui.m_proScore.m_holder1, resPath10, out _gameObject19, out GoWrapper _wrapper19); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath4 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.AddObjectToView(_gameObject6, null, _ui.m_proScore.m_holder, resPath4, out _gameObject6, out GoWrapper _wrapper6); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string resPath3 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_an"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (int i = 0; i < _skillCount; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                SceneController.AddObjectToView(null, null, item.m_holder, resPath3, out GameObject _gameObject, out GoWrapper _wrapper); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _gameObjects.Add(_gameObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _wrappers.Add(_wrapper); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComShieldMine.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComShieldMine.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComShieldNpc.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComShieldNpc.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        protected override void Init() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            base.Init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui = UI_StoryFightTargetScoreUI.Create(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            viewCom = _ui.target; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            isfullScreen = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _scenePrefab = GFGAsset.Load<GameObject>(ResPathUtil.GetPrefabPath("SceneFightTargetScore")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            RoleSkillCfg[] roleSkillCfgs = RoleSkillCfgArray.Instance.dataArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _skillCount = roleSkillCfgs.Length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (int i = 0; i < roleSkillCfgs.Length; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                btnSkill.data = roleSkillCfgs[i]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GLoader icon = btnSkill.GetChild("icon").asLoader; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                icon.onClick.Add(() => { OnBtnSkillClick(btnSkill); }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                LongPressGesture longPressGesture = new LongPressGesture(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                longPressGesture.once = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                LongPressGesture.TRIGGER = 1f; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                longPressGesture.onAction.Add(OnLongPress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                longPressGesture.onEnd.Add(OnLongEnd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _listLongPress.Add(longPressGesture); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnBack.onClick.Add(OnBtnBackClick); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        protected override void OnInit() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            base.OnInit(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnSkip.onClick.Add(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                Skip(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.target.onClick.Add(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_btnSkill0.m_icon.touchable = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnSkill0.target.onClick.Add(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (_partId == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0 && playStop) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    playStop = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    _ui.m_comMineCircle.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        CircleScoreEnd(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    _ui.m_comTargetCircle.m_t0.Play(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnSpeedUp.onClick.Add(OnBtnSpeedUp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            AddEffect(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        protected override void AddEventListener() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            base.AddEventListener(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            EventAgent.AddEventListener(ConstMessage.SHOW_CARD_SKILL_END, UpdateCircleResult); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        protected override void OnShown() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            base.OnShown(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_sceneObject == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _sceneObject = GameObject.Instantiate(_scenePrefab); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            MyDressUpHelper.dressUpObj.UpdateRoleView(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _levelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SceneController.UpdateFightTarget(fightCfg.targetRes, _sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proScore.m_txtNpcScore.text = fightCfg.targetName + " 0"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proScore.m_txtMineScore.text = RoleDataManager.roleName + " 0"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnBack.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _speed = FightDataManager.Instance.fightSpeed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_levelCfg.type == ConstInstanceZonesType.Field) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_btnBack.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ScoreSystemData.Instance.SetEquipDicWithType(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _partId = FightScoreCfgArray.Instance.dataArray[0].id; ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _targetScore = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _mainScore = ScoreSystemData.Instance.GetMainScore(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _targetMainScore = fightCfg.targetMainScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UpdateNormal(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.Add(0.5f / _speed, 1, CircleScoreStart);//评分开始 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.AddUpdate(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void UpdateNormal() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_partId == 1 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)//引导中禁止自动战斗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _speed = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                FightDataManager.Instance.autoPlay = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_btnSkill0.m_icon.touchable = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_levelCfg.type == ConstInstanceZonesType.Field || FightDataManager.Instance.autoPlay) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _isAutoPlay = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            RoleSkillCfg[] roleSkillCfgs = RoleSkillCfgArray.Instance.dataArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (int i = 0; i < roleSkillCfgs.Length; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                item.m_txtCount.text = roleSkillCfgs[i].limiteCount.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                item.m_icon.touchable = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (_isAutoPlay) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    item.m_icon.touchable = !_isAutoPlay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    OnBtnSkillClick(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnSpeedUp.visible = _isAutoPlay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnSpeedUp.title = "x" + _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //     _ui.m_btnSkill0.target.touchable = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void CircleScoreStart(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _skillScore = 0;//技能附加分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _showCard = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            List<PassivitySkillLvlCfg> validSkillCfgs = ScoreSystemData.Instance.GetValidSkills(_currentTime, InstanceZonesDataManager.currentCardId, 0, _partId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _skillScore = ScoreSystemData.Instance.GetPartItemSkillScore(validSkillCfgs, _mainScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _showCard = ScoreSystemData.Instance.IsShowCard(InstanceZonesDataManager.currentCardId, validSkillCfgs); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_showCard) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ViewManager.Show<StorySkillView>(_skillScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UpdateCircleResult(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //更新部件评分结果,播放结果动画 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void UpdateCircleResult() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            double partScore = ScoreSystemData.Instance.GetPartItemScore(_partId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.m_txtCount.text = ((int)Math.Round(partScore)).ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _score += (int)Math.Round((partScore + _skillScore)); ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FightDataManager.Instance.totalScore = (int)Math.Round(_score); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            double targetScore = fightCfg.targetPartsScoreArr[_partId - 1] * ConstScoreSystem.PART_SCORE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.m_txtCount.text = ((int)Math.Round(targetScore)).ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _targetScore += targetScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FightDataManager.Instance.npcTotalScore = (int)Math.Round(_targetScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ReleaseNpcSkill(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            PlayScoreAni(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //顶部评分进度条 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void UpdateProgressBar() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proScore.m_txtNpcScore.text = string.Format("{0} {1}", fightCfg.targetName, (int)Math.Round(_targetScore)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proScore.m_txtMineScore.text = string.Format("{0} {1}", RoleDataManager.roleName, (int)Math.Round(_score)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // _ui.m_proScore.m_comBar.m_imgAni.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            double proportion = (_score + _targetScore) > 0 ? _score / (_score + _targetScore) : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            float width = (float)(proportion * _ui.m_proScore.target.width); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTween.To(_ui.m_proScore.m_comBar.target.width, width, 0.5f).SetTarget(_ui.m_proScore.m_comBar).OnUpdate((GTweener t) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    _ui.m_proScore.m_comBar.target.width = t.value.x; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //释放NPC技能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void ReleaseNpcSkill() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (fightCfg.targerSkillArr.Length >= _partId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                RoleSkillCfg cfg = RoleSkillCfgArray.Instance.GetCfg(fightCfg.targerSkillArr[_partId - 1]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (cfg == null) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                SetSkillValue(cfg, SkillDataManager.NPC); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void PlayScoreAni() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_partId).name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _gameObject13.SetActive(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _gameObject14.SetActive(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_partId).name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_partId == 1 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comMineCircle.m_t0.Play(1, 0, 0, 0.75f, () => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    _ui.m_comMineCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    playStop = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comTargetCircle.m_t0.Play(1, 0, 0, 0.75f, () => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    _ui.m_comTargetCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                PlayScoreTWEffect(_ui.m_holderPartScore, _ui.m_comMineCircle.target.position, _ui.m_proScore.target.position); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                PlayScoreTWEffect(_ui.m_holderPartScoreNpc, _ui.m_comTargetCircle.target.position, _ui.m_proScore.target.position + new Vector3(_ui.m_proScore.target.width, 0, 0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.Add(2.5f / _speed, 1, CircleScoreEnd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void PlayScoreTWEffect(GGraph holderScore, Vector3 startValue, Vector3 endValue) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            holderScore.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTween.To(startValue, endValue, 0.5f).SetTarget(holderScore).OnUpdate((GTweener t) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                holderScore.position = t.value.vec2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }).OnComplete(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                holderScore.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UpdateProgressBar(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void CircleScoreEnd(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //当前部件评分结束 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _gameObject13.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _gameObject14.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _partId++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_partId > FightScoreCfgArray.Instance.dataArray.Length) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                Timers.inst.Add(1.5f, 1, Skip); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comTargetCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comMineCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                Timers.inst.Add(0.5f / _speed, 1, CircleScoreStart);//评分结束 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /***************************************************主动技能**************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void OnBtnSkillClick(GComponent obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // if (_isAutoPlay) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            RoleSkillCfg cfg = item.target.data as RoleSkillCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            int count = (int)item.m_icon.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (count >= cfg.limiteCount) return;//超过最大限制次数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            item.m_c1.selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            item.m_icon.data = count + 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            item.m_txtCount.text = (cfg.limiteCount - (count + 1)).ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SetCdState(obj, cfg.cd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SetSkillValue(cfg, SkillDataManager.MINE); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void SetCdState(GComponent obj, int time) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GProgressBar bar = item.m_proCD; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            bar.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            bar.value = 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            bar.TweenValue(0, (float)time / 100 / _speed).OnComplete((GTweener tweener) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  GProgressBar bar1 = (GProgressBar)tweener.target; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  UI_ComBtnSkill item1 = UI_ComBtnSkill.Proxy(bar1.parent); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  int count = (int)item1.m_icon.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  RoleSkillCfg cfg = item1.target.data as RoleSkillCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  item1.m_c1.selectedIndex = count >= cfg.limiteCount ? 2 : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  item1.m_proCD.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  if (_isAutoPlay) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      OnBtnSkillClick(item1.target); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void SetSkillValue(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (cfg.buff == SkillDataManager.SKILL_ADD) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UpdateAddUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else if (cfg.buff == SkillDataManager.SKILL_MINUS) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UpdateMinusUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else if (cfg.buff == SkillDataManager.SKILL_BREAK) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UpdateBreakUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else if (cfg.buff == SkillDataManager.SKILL_SHIELD) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UpdateShieldUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void UpdateAddUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComRoleSkill comRoleSkillScore = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillMineAdd : _ui.m_ComRoleSkillNpcAdd; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comRoleSkillScore.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            int score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (role == SkillDataManager.MINE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                score = (int)_mainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _score += score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                score = (int)_targetMainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _targetScore += score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // comRoleSkillScore.m_comRoleSkill.m_c1.selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comRoleSkillScore.m_txtScore.SetVar("count", "+" + score.ToString()).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comRoleSkillScore.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comRoleSkillScore.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comRoleSkillScore.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    comRoleSkillScore.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    GGraph graph = role == SkillDataManager.MINE ? _ui.m_holderAddScore : _ui.m_holderAddScoreNpc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    Vector3 targetPos = role == SkillDataManager.MINE ? _ui.m_proScore.target.position : _ui.m_proScore.target.position + new Vector3(_ui.m_proScore.target.width, 0, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    PlayScoreTWEffect(graph, comRoleSkillScore.target.position, targetPos); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //荆钗效果 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void UpdateMinusUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GProgressBar comSkillMinus = role == SkillDataManager.MINE ? _ui.m_proMinusMine : _ui.m_proMinusNpc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComSkillShield targetComSkillShield = role == SkillDataManager.MINE ? _ui.m_ComShieldNpc : _ui.m_ComShieldMine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillMinus.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillMinus.value = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillMinus.TweenValue(100, 2f / _speed).OnComplete(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  comSkillMinus.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  if (targetComSkillShield.m_holder.visible) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      targetComSkillShield.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      targetComSkillShield.m_holder1.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  UI_ComRoleSkill comRoleSkillScore = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillNpcMinus : _ui.m_ComRoleSkillMineMinus; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  comRoleSkillScore.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  //   comRoleSkillScore.m_c1.selectedIndex = role == SkillDataManager.MINE ? 0 : 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  int score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  if (role == SkillDataManager.MINE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      score = (int)_targetMainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      _targetScore -= score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      if (_targetScore < 0) _targetScore = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      score = (int)_mainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      _score -= score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      if (_score < 0) _score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  comRoleSkillScore.m_txtScore.SetVar("count", "-" + score.ToString()).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  comRoleSkillScore.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  comRoleSkillScore.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  comRoleSkillScore.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      comRoleSkillScore.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  UpdateProgressBar(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void UpdateBreakUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GProgressBar targetSkillMinus = role == SkillDataManager.MINE ? _ui.m_proMinusNpc : _ui.m_proMinusMine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            targetSkillMinus.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComRoleSkill1 comSkillBreak = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillMineBreak : _ui.m_ComRoleSkillNpcBreak; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillBreak.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillBreak.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillBreak.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillBreak.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                comSkillBreak.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTweener twener = GTween.GetTween(targetSkillMinus, TweenPropType.Progress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (twener != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                twener.Kill(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //锦衣效果 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void UpdateShieldUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComSkillShield comSkillShield = role == SkillDataManager.MINE ? _ui.m_ComShieldMine : _ui.m_ComShieldNpc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillShield.m_holder.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillShield.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.Add((float)cfg.duration / 100 / _speed, 1, (param) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  // comSkillShield.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  comSkillShield.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComRoleSkill1 comSkillShieldEff = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillMineShield : _ui.m_ComRoleSkillNpcShield; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillShieldEff.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillShieldEff.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillShieldEff.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comSkillShieldEff.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                comSkillShieldEff.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void OnBtnSpeedUp() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FightDataManager.Instance.fightSpeed = FightDataManager.Instance.fightSpeed == 1 ? FightDataManager.Instance.maxFightSpeed : 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _speed = FightDataManager.Instance.fightSpeed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnSpeedUp.title = "x" + _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void OnLongPress(EventContext context) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            LongPressGesture gesture = (LongPressGesture)context.sender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            RoleSkillCfg skillCfg = gesture.host.data as RoleSkillCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comSkillTips.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (skillCfg.skillId <= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comSkillTips.m_c1.selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comSkillTips.target.x = gesture.host.x + 90; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comSkillTips.m_c1.selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_comSkillTips.target.x = gesture.host.x - 240; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comSkillTips.m_txtTitle.text = skillCfg.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comSkillTips.m_txtContent.text = skillCfg.desc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void OnLongEnd() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comSkillTips.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void OnBtnBackClick() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            InstanceZonesController.OnFinishStoryLevel(InstanceZonesDataManager.currentLevelCfgId, false, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.Hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        protected override void OnHide() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            base.OnHide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_sceneObject != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GameObject.Destroy(_sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _sceneObject = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // _npcSkillDic.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.Remove(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        protected override void RemoveEventListener() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            base.RemoveEventListener(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            EventAgent.RemoveEventListener(ConstMessage.SHOW_CARD_SKILL_END, UpdateCircleResult); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private async void Skip(object param = null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FightDataManager.Instance.totalScore = (int)Math.Round(_score); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FightDataManager.Instance.npcTotalScore = (int)Math.Round(_targetScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            await InstanceZonesController.CheckStoryFightResult(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void Reset() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comSkillTips.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proScore.target.max = 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proScore.target.value = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proScore.m_comBar.target.width = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comMineCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_comTargetCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proMinusMine.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_proMinusNpc.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTweener twenerMine = GTween.GetTween(_ui.m_proMinusMine, TweenPropType.Progress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (twenerMine != null) twenerMine.Kill(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTweener twenerNpc = GTween.GetTween(_ui.m_proMinusNpc, TweenPropType.Progress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (twenerNpc != null) twenerNpc.Kill(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTween.Kill(_ui.m_proScore.m_comBar); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTween.Kill(_ui.m_holderPartScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GTween.Kill(_ui.m_holderPartScoreNpc); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //   GTween.To(startValue, endValue, 0.5f).SetTarget(holderScore) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _gameObject13.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _gameObject14.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComShieldMine.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComShieldNpc.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillMineAdd.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillMineMinus.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillNpcAdd.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillNpcMinus.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillMineBreak.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillNpcBreak.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillMineShield.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_ComRoleSkillNpcShield.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (int i = 0; i < _skillCount; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                btnSkill.GetChild("icon").asLoader.data = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                btnSkill.GetController("c1").selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _isAutoPlay = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.Remove(CircleScoreStart); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.Remove(Skip); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Timers.inst.Remove(CircleScoreEnd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _gameObjects.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _wrappers.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void CheckGuide(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UpdateToCheckGuide(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                Timers.inst.Remove(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        protected override void UpdateToCheckGuide(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (!ViewManager.CheckIsTopView(this.viewCom)) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (playStop) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideController.TryGuide(_ui.m_comMineCircle.target, ConstGuideId.TARGET_FIGHT, 1, "这里可以观察双方的分数计算。"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GuideController.TryGuide(_ui.m_btnSkill0.target, ConstGuideId.TARGET_FIGHT, 2, "使用技能,可以增加胜出的几率哦,长按查看技能说明。"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GuideController.TryCompleteGuide(ConstGuideId.TARGET_FIGHT, 2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private UI_StoryFightTargetScoreUI _ui; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _sceneObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _scenePrefab; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private double _targetScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private double _score;//当前总分数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private int _partId;//当前评分part 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private double _skillScore = 0;//当前卡牌技能分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private bool _showCard = false;//当前是否显示卡牌技能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private double _mainScore;//总主属性分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private double _targetMainScore;//战斗目标总主属性分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private const int _range = 30;//圆圈随机范围 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private int _currentTime = BeginTime.PART_FIGHT_BEGIN; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private int _skillCount; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private float _speed = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private bool _isAutoPlay = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private StoryLevelCfg _levelCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject8; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper8; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject9; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper9; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject10; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper10; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject11; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper11; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject12; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper12; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject13; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper13; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject14; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper14; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject15; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper15; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject16; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper16; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject17; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper17; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject18; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper18; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GameObject _gameObject19; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private GoWrapper _wrapper19; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private List<GameObject> _gameObjects = new List<GameObject>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private List<GoWrapper> _wrappers = new List<GoWrapper>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private List<LongPressGesture> _listLongPress = new List<LongPressGesture>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         // private GoWrapper _wrapper5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         // private Dictionary<int, RoleSkillCfg> _npcSkillDic; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private bool playStop = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         public override void Dispose() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_sceneObject != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GameObject.Destroy(_sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _sceneObject = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject0, _wrapper0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject1, _wrapper1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject2, _wrapper2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject3, _wrapper3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject4, _wrapper4); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject5, _wrapper5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject6, _wrapper6); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject7, _wrapper7); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject8, _wrapper8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject9, _wrapper9); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject11, _wrapper11); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject12, _wrapper12); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject13, _wrapper13); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject14, _wrapper14); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject15, _wrapper15); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject16, _wrapper16); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject17, _wrapper17); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject18, _wrapper18); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.DestroyObjectFromView(_gameObject19, _wrapper19); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             for (int i = 0; i < _gameObjects.Count; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 SceneController.DestroyObjectFromView(_gameObjects[i], _wrappers[i]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             for (int i = 0; i < _listLongPress.Count; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _listLongPress[i].Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _listLongPress.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_ui != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             base.Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void AddEffect() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath0 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_hd_sc"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject0, null, _ui.m_ComShieldMine.m_holder, resPath0, out _gameObject0, out GoWrapper _wrapper0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject2, null, _ui.m_ComShieldNpc.m_holder, resPath0, out _gameObject2, out GoWrapper _wrapper2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_hd_ps"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject1, null, _ui.m_ComShieldMine.m_holder1, resPath1, out _gameObject1, out GoWrapper _wrapper1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject3, null, _ui.m_ComShieldNpc.m_holder1, resPath1, out _gameObject3, out GoWrapper _wrapper3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath2 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_tg"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject4, null, _ui.m_ComRoleSkillMineAdd.m_holder, resPath2, out _gameObject4, out GoWrapper _wrapper4, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject5, null, _ui.m_ComRoleSkillNpcAdd.m_holder, resPath2, out _gameObject5, out GoWrapper _wrapper5, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath5 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_jc"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject7, null, _ui.m_ComRoleSkillMineMinus.m_holder, resPath5, out _gameObject7, out GoWrapper _wrapper7, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject8, null, _ui.m_ComRoleSkillNpcMinus.m_holder, resPath5, out _gameObject8, out GoWrapper _wrapper8, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath6 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_dz"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject9, null, _ui.m_ComRoleSkillMineBreak.m_holder, resPath6, out _gameObject9, out GoWrapper _wrapper9, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject10, null, _ui.m_ComRoleSkillNpcBreak.m_holder, resPath6, out _gameObject10, out GoWrapper _wrapper10, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath7 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_jy"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject11, null, _ui.m_ComRoleSkillMineShield.m_holder, resPath7, out _gameObject11, out GoWrapper _wrapper11, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject12, null, _ui.m_ComRoleSkillNpcShield.m_holder, resPath7, out _gameObject12, out GoWrapper _wrapper12, 70); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath8 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_cheng"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject13, null, _ui.m_comMineCircle.m_holder, resPath8, out _gameObject13, out GoWrapper _wrapper13, 59); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath8_1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_lv_sr"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject14, null, _ui.m_comTargetCircle.m_holder, resPath8_1, out _gameObject14, out GoWrapper _wrapper14, 59); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath9 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_tw"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject15, null, _ui.m_holderPartScore, resPath9, out _gameObject15, out GoWrapper _wrapper15); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject16, null, _ui.m_holderPartScoreNpc, resPath9, out _gameObject16, out GoWrapper _wrapper16); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject17, null, _ui.m_holderAddScore, resPath9, out _gameObject17, out GoWrapper _wrapper17); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject18, null, _ui.m_holderAddScoreNpc, resPath9, out _gameObject18, out GoWrapper _wrapper18); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath10 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_cz"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject19, null, _ui.m_proScore.m_holder1, resPath10, out _gameObject19, out GoWrapper _wrapper19); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath4 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.AddObjectToView(_gameObject6, null, _ui.m_proScore.m_holder, resPath4, out _gameObject6, out GoWrapper _wrapper6); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             string resPath3 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jn_an"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             for (int i = 0; i < _skillCount; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 SceneController.AddObjectToView(null, null, item.m_holder, resPath3, out GameObject _gameObject, out GoWrapper _wrapper); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _gameObjects.Add(_gameObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _wrappers.Add(_wrapper); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComShieldMine.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComShieldMine.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComShieldNpc.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComShieldNpc.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         protected override void Init() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             base.Init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui = UI_StoryFightTargetScoreUI.Create(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             viewCom = _ui.target; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             isfullScreen = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _scenePrefab = GFGAsset.Load<GameObject>(ResPathUtil.GetPrefabPath("SceneFightTargetScore")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             RoleSkillCfg[] roleSkillCfgs = RoleSkillCfgArray.Instance.dataArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _skillCount = roleSkillCfgs.Length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             for (int i = 0; i < roleSkillCfgs.Length; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 btnSkill.data = roleSkillCfgs[i]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GLoader icon = btnSkill.GetChild("icon").asLoader; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 icon.onClick.Add(() => { OnBtnSkillClick(btnSkill); }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 LongPressGesture longPressGesture = new LongPressGesture(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 longPressGesture.once = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 LongPressGesture.TRIGGER = 1f; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 longPressGesture.onAction.Add(OnLongPress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 longPressGesture.onEnd.Add(OnLongEnd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _listLongPress.Add(longPressGesture); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnBack.onClick.Add(OnBtnBackClick); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         protected override void OnInit() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             base.OnInit(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnSkip.onClick.Add(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 Skip(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.target.onClick.Add(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_btnSkill0.m_icon.touchable = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnSkill0.target.onClick.Add(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 if (_partId == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0 && playStop) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     playStop = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     _ui.m_comMineCircle.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                         CircleScoreEnd(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     _ui.m_comTargetCircle.m_t0.Play(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnSpeedUp.onClick.Add(OnBtnSpeedUp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             AddEffect(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         protected override void AddEventListener() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             base.AddEventListener(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             EventAgent.AddEventListener(ConstMessage.SHOW_CARD_SKILL_END, UpdateCircleResult); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         protected override void OnShown() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             base.OnShown(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_sceneObject == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _sceneObject = GameObject.Instantiate(_scenePrefab); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             MyDressUpHelper.dressUpObj.UpdateRoleView(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _levelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SceneController.UpdateFightTarget(fightCfg.targetRes, _sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proScore.m_txtNpcScore.text = fightCfg.targetName + " 0"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proScore.m_txtMineScore.text = RoleDataManager.roleName + " 0"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnBack.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _speed = FightDataManager.Instance.fightSpeed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_levelCfg.type == ConstInstanceZonesType.Field) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_btnBack.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             ScoreSystemData.Instance.SetEquipDicWithType(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _partId = FightScoreCfgArray.Instance.dataArray[0].id; ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _targetScore = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _mainScore = ScoreSystemData.Instance.GetMainScore(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _targetMainScore = fightCfg.targetMainScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UpdateNormal(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.Add(0.5f / _speed, 1, CircleScoreStart);//评分开始 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.AddUpdate(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void UpdateNormal() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_partId == 1 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)//引导中禁止自动战斗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _speed = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 FightDataManager.Instance.autoPlay = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_btnSkill0.m_icon.touchable = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_levelCfg.type == ConstInstanceZonesType.Field || FightDataManager.Instance.autoPlay) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _isAutoPlay = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             RoleSkillCfg[] roleSkillCfgs = RoleSkillCfgArray.Instance.dataArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             for (int i = 0; i < roleSkillCfgs.Length; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 item.m_txtCount.text = roleSkillCfgs[i].limiteCount.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 item.m_icon.touchable = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 if (_isAutoPlay) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     item.m_icon.touchable = !_isAutoPlay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     OnBtnSkillClick(btnSkill); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnSpeedUp.visible = _isAutoPlay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnSpeedUp.title = "x" + _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             //     _ui.m_btnSkill0.target.touchable = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void CircleScoreStart(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _skillScore = 0;//技能附加分 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _showCard = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             List<PassivitySkillLvlCfg> validSkillCfgs = ScoreSystemData.Instance.GetValidSkills(_currentTime, InstanceZonesDataManager.currentCardId, 0, _partId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _skillScore = ScoreSystemData.Instance.GetPartItemSkillScore(validSkillCfgs, _mainScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _showCard = ScoreSystemData.Instance.IsShowCard(InstanceZonesDataManager.currentCardId, validSkillCfgs); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_showCard) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 ViewManager.Show<StorySkillView>(_skillScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UpdateCircleResult(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         //更新部件评分结果,播放结果动画 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void UpdateCircleResult() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             double partScore = ScoreSystemData.Instance.GetPartItemScore(_partId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.m_txtCount.text = ((int)Math.Round(partScore)).ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _score += (int)Math.Round((partScore + _skillScore)); ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             FightDataManager.Instance.totalScore = (int)Math.Round(_score); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             double targetScore = fightCfg.targetPartsScoreArr[_partId - 1] * ConstScoreSystem.PART_SCORE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.m_txtCount.text = ((int)Math.Round(targetScore)).ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _targetScore += targetScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             FightDataManager.Instance.npcTotalScore = (int)Math.Round(_targetScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             ReleaseNpcSkill(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             PlayScoreAni(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         //顶部评分进度条 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void UpdateProgressBar() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proScore.m_txtNpcScore.text = string.Format("{0} {1}", fightCfg.targetName, (int)Math.Round(_targetScore)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proScore.m_txtMineScore.text = string.Format("{0} {1}", RoleDataManager.roleName, (int)Math.Round(_score)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // _ui.m_proScore.m_comBar.m_imgAni.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             double proportion = (_score + _targetScore) > 0 ? _score / (_score + _targetScore) : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             float width = (float)(proportion * _ui.m_proScore.target.width); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTween.To(_ui.m_proScore.m_comBar.target.width, width, 0.5f).SetTarget(_ui.m_proScore.m_comBar).OnUpdate((GTweener t) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     _ui.m_proScore.m_comBar.target.width = t.value.x; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 }); ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         //释放NPC技能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void ReleaseNpcSkill() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (fightCfg.targerSkillArr.Length >= _partId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 RoleSkillCfg cfg = RoleSkillCfgArray.Instance.GetCfg(fightCfg.targerSkillArr[_partId - 1]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 if (cfg == null) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 SetSkillValue(cfg, SkillDataManager.NPC); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void PlayScoreAni() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_partId).name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _gameObject13.SetActive(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _gameObject14.SetActive(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_partId).name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_partId == 1 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comMineCircle.m_t0.Play(1, 0, 0, 0.75f, () => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     _ui.m_comMineCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     playStop = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comTargetCircle.m_t0.Play(1, 0, 0, 0.75f, () => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     _ui.m_comTargetCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 PlayScoreTWEffect(_ui.m_holderPartScore, _ui.m_comMineCircle.target.position, _ui.m_proScore.target.position); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 PlayScoreTWEffect(_ui.m_holderPartScoreNpc, _ui.m_comTargetCircle.target.position, _ui.m_proScore.target.position + new Vector3(_ui.m_proScore.target.width, 0, 0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.Add(2.5f / _speed, 1, CircleScoreEnd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void PlayScoreTWEffect(GGraph holderScore, Vector3 startValue, Vector3 endValue) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             holderScore.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTween.To(startValue, endValue, 0.5f).SetTarget(holderScore).OnUpdate((GTweener t) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 holderScore.position = t.value.vec2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }).OnComplete(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 holderScore.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UpdateProgressBar(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void CircleScoreEnd(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             //当前部件评分结束 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _gameObject13.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _gameObject14.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _partId++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_partId > FightScoreCfgArray.Instance.dataArray.Length) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 Timers.inst.Add(1.5f, 1, Skip); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comTargetCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comMineCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 Timers.inst.Add(0.5f / _speed, 1, CircleScoreStart);//评分结束 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         /***************************************************主动技能**************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void OnBtnSkillClick(GComponent obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // if (_isAutoPlay) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             RoleSkillCfg cfg = item.target.data as RoleSkillCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             int count = (int)item.m_icon.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (count >= cfg.limiteCount) return;//超过最大限制次数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             item.m_c1.selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             item.m_icon.data = count + 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             item.m_txtCount.text = (cfg.limiteCount - (count + 1)).ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SetCdState(obj, cfg.cd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             SetSkillValue(cfg, SkillDataManager.MINE); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void SetCdState(GComponent obj, int time) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComBtnSkill item = UI_ComBtnSkill.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GProgressBar bar = item.m_proCD; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             bar.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             bar.value = 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             bar.TweenValue(0, (float)time / 100 / _speed).OnComplete((GTweener tweener) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //               { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   GProgressBar bar1 = (GProgressBar)tweener.target; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   UI_ComBtnSkill item1 = UI_ComBtnSkill.Proxy(bar1.parent); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   int count = (int)item1.m_icon.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   RoleSkillCfg cfg = item1.target.data as RoleSkillCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   item1.m_c1.selectedIndex = count >= cfg.limiteCount ? 2 : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   item1.m_proCD.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   if (_isAutoPlay) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       OnBtnSkillClick(item1.target); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //               }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComBtnSkill.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void SetSkillValue(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (cfg.buff == SkillDataManager.SKILL_ADD) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UpdateAddUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else if (cfg.buff == SkillDataManager.SKILL_MINUS) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UpdateMinusUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else if (cfg.buff == SkillDataManager.SKILL_BREAK) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UpdateBreakUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else if (cfg.buff == SkillDataManager.SKILL_SHIELD) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UpdateShieldUI(cfg, role); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void UpdateAddUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComRoleSkill comRoleSkillScore = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillMineAdd : _ui.m_ComRoleSkillNpcAdd; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comRoleSkillScore.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             int score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (role == SkillDataManager.MINE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 score = (int)_mainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _score += score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 score = (int)_targetMainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _targetScore += score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // comRoleSkillScore.m_comRoleSkill.m_c1.selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comRoleSkillScore.m_txtScore.SetVar("count", "+" + score.ToString()).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comRoleSkillScore.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comRoleSkillScore.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comRoleSkillScore.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     comRoleSkillScore.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     GGraph graph = role == SkillDataManager.MINE ? _ui.m_holderAddScore : _ui.m_holderAddScoreNpc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     Vector3 targetPos = role == SkillDataManager.MINE ? _ui.m_proScore.target.position : _ui.m_proScore.target.position + new Vector3(_ui.m_proScore.target.width, 0, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                     PlayScoreTWEffect(graph, comRoleSkillScore.target.position, targetPos); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         //荆钗效果 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void UpdateMinusUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GProgressBar comSkillMinus = role == SkillDataManager.MINE ? _ui.m_proMinusMine : _ui.m_proMinusNpc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComSkillShield targetComSkillShield = role == SkillDataManager.MINE ? _ui.m_ComShieldNpc : _ui.m_ComShieldMine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillMinus.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillMinus.value = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillMinus.TweenValue(100, 2f / _speed).OnComplete(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //               { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   comSkillMinus.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   if (targetComSkillShield.m_holder.visible) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       targetComSkillShield.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       targetComSkillShield.m_holder1.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   UI_ComRoleSkill comRoleSkillScore = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillNpcMinus : _ui.m_ComRoleSkillMineMinus; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   comRoleSkillScore.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   //   comRoleSkillScore.m_c1.selectedIndex = role == SkillDataManager.MINE ? 0 : 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   int score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   if (role == SkillDataManager.MINE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       score = (int)_targetMainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       _targetScore -= score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       if (_targetScore < 0) _targetScore = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       score = (int)_mainScore * cfg.value / 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       _score -= score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       if (_score < 0) _score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   comRoleSkillScore.m_txtScore.SetVar("count", "-" + score.ToString()).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   comRoleSkillScore.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   comRoleSkillScore.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   comRoleSkillScore.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                       comRoleSkillScore.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   UpdateProgressBar(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //               }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void UpdateBreakUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GProgressBar targetSkillMinus = role == SkillDataManager.MINE ? _ui.m_proMinusNpc : _ui.m_proMinusMine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             targetSkillMinus.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComRoleSkill1 comSkillBreak = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillMineBreak : _ui.m_ComRoleSkillNpcBreak; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillBreak.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillBreak.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillBreak.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillBreak.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 comSkillBreak.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTweener twener = GTween.GetTween(targetSkillMinus, TweenPropType.Progress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (twener != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 twener.Kill(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         //锦衣效果 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void UpdateShieldUI(RoleSkillCfg cfg, int role) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComSkillShield comSkillShield = role == SkillDataManager.MINE ? _ui.m_ComShieldMine : _ui.m_ComShieldNpc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillShield.m_holder.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillShield.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.Add((float)cfg.duration / 100 / _speed, 1, (param) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //               { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   // comSkillShield.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                   comSkillShield.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //               }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             UI_ComRoleSkill1 comSkillShieldEff = role == SkillDataManager.MINE ? _ui.m_ComRoleSkillMineShield : _ui.m_ComRoleSkillNpcShield; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillShieldEff.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillShieldEff.m_t0.ignoreEngineTimeScale = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillShieldEff.m_t0.timeScale = _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             comSkillShieldEff.m_t0.Play(() => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 comSkillShieldEff.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void OnBtnSpeedUp() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             FightDataManager.Instance.fightSpeed = FightDataManager.Instance.fightSpeed == 1 ? FightDataManager.Instance.maxFightSpeed : 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _speed = FightDataManager.Instance.fightSpeed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_btnSpeedUp.title = "x" + _speed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void OnLongPress(EventContext context) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             LongPressGesture gesture = (LongPressGesture)context.sender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             RoleSkillCfg skillCfg = gesture.host.data as RoleSkillCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comSkillTips.target.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (skillCfg.skillId <= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comSkillTips.m_c1.selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comSkillTips.target.x = gesture.host.x + 90; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comSkillTips.m_c1.selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _ui.m_comSkillTips.target.x = gesture.host.x - 240; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comSkillTips.m_txtTitle.text = skillCfg.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comSkillTips.m_txtContent.text = skillCfg.desc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void OnLongEnd() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comSkillTips.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void OnBtnBackClick() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             InstanceZonesController.OnFinishStoryLevel(InstanceZonesDataManager.currentLevelCfgId, false, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             this.Hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         protected override void OnHide() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             base.OnHide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (_sceneObject != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GameObject.Destroy(_sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 _sceneObject = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             // _npcSkillDic.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.Remove(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         protected override void RemoveEventListener() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             base.RemoveEventListener(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             EventAgent.RemoveEventListener(ConstMessage.SHOW_CARD_SKILL_END, UpdateCircleResult); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private async void Skip(object param = null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             FightDataManager.Instance.totalScore = (int)Math.Round(_score); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             FightDataManager.Instance.npcTotalScore = (int)Math.Round(_targetScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             await InstanceZonesController.CheckStoryFightResult(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void Reset() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comSkillTips.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proScore.target.max = 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proScore.target.value = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proScore.m_comBar.target.width = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comMineCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_comTargetCircle.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proMinusMine.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_proMinusNpc.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTweener twenerMine = GTween.GetTween(_ui.m_proMinusMine, TweenPropType.Progress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (twenerMine != null) twenerMine.Kill(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTweener twenerNpc = GTween.GetTween(_ui.m_proMinusNpc, TweenPropType.Progress); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (twenerNpc != null) twenerNpc.Kill(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTween.Kill(_ui.m_proScore.m_comBar); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTween.Kill(_ui.m_holderPartScore); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GTween.Kill(_ui.m_holderPartScoreNpc); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             //   GTween.To(startValue, endValue, 0.5f).SetTarget(holderScore) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _gameObject13.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _gameObject14.SetActive(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComShieldMine.m_holder.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComShieldNpc.m_holder1.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillMineAdd.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillMineMinus.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillNpcAdd.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillNpcMinus.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillMineBreak.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillNpcBreak.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillMineShield.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _ui.m_ComRoleSkillNpcShield.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             for (int i = 0; i < _skillCount; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GComponent btnSkill = _ui.target.GetChild("btnSkill" + i).asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 btnSkill.GetChild("icon").asLoader.data = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 btnSkill.GetController("c1").selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _isAutoPlay = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.Remove(CircleScoreStart); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.Remove(Skip); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             Timers.inst.Remove(CircleScoreEnd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _gameObjects.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             _wrappers.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         private void CheckGuide(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 UpdateToCheckGuide(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 Timers.inst.Remove(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         protected override void UpdateToCheckGuide(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (!ViewManager.CheckIsTopView(this.viewCom)) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             if (playStop) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //                 GuideController.TryGuide(_ui.m_comMineCircle.target, ConstGuideId.TARGET_FIGHT, 1, "这里可以观察双方的分数计算。"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GuideController.TryGuide(_ui.m_btnSkill0.target, ConstGuideId.TARGET_FIGHT, 2, "使用技能,可以增加胜出的几率哦,长按查看技能说明。"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             GuideController.TryCompleteGuide(ConstGuideId.TARGET_FIGHT, 2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |