|
@@ -186,6 +186,7 @@ namespace GFGGame
|
|
|
_ui.m_ComShieldNpc.m_holder.visible = false;
|
|
|
_ui.m_ComShieldNpc.m_holder1.visible = false;
|
|
|
}
|
|
|
+
|
|
|
protected override void Init()
|
|
|
{
|
|
|
base.Init();
|
|
@@ -280,13 +281,7 @@ namespace GFGGame
|
|
|
_targetMainScore = fightCfg.targetMainScore;
|
|
|
|
|
|
UpdateNormal();
|
|
|
- _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;
|
|
|
- }
|
|
|
Timers.inst.Add(0.5f / _speed, 1, CircleScoreStart);//评分开始
|
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
|
}
|
|
@@ -320,6 +315,12 @@ namespace GFGGame
|
|
|
OnBtnSkillClick(btnSkill);
|
|
|
}
|
|
|
}
|
|
|
+ _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;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|
|
@@ -435,12 +436,7 @@ namespace GFGGame
|
|
|
{
|
|
|
PlayScoreTWEffect(_ui.m_holderPartScoreNpc, _ui.m_comTargetCircle.target.position, _ui.m_proScore.target.position + new Vector3(_ui.m_proScore.target.width, 0, 0));
|
|
|
});
|
|
|
- // _ui.m_comTargetCircle.m_t1.ignoreEngineTimeScale = false;
|
|
|
- // _ui.m_comTargetCircle.m_t1.timeScale = _speed;
|
|
|
- // _ui.m_comTargetCircle.m_t1.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)
|
|
@@ -727,7 +723,10 @@ namespace GFGGame
|
|
|
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);
|
|
|
|