|
@@ -20,7 +20,7 @@ namespace GFGGame
|
|
|
private const int _range = 100;//圆圈随机范围
|
|
|
private float _time = 0;// 登峰造极按住的时间
|
|
|
|
|
|
- private float _playTime = 2f;
|
|
|
+ private float _playTime = 2.3f;
|
|
|
|
|
|
private GameObject _gameObject0;
|
|
|
private GameObject _gameObject1;
|
|
@@ -30,6 +30,7 @@ namespace GFGGame
|
|
|
private GameObject _gameObject5;
|
|
|
private GameObject _gameObject6;
|
|
|
private GameObject _gameObject7;
|
|
|
+ private GameObject _gameObject8;
|
|
|
private GoWrapper _wrapper6;
|
|
|
private GoWrapper _wrapper7;
|
|
|
|
|
@@ -194,9 +195,9 @@ namespace GFGGame
|
|
|
private void CircleResuleEnd()
|
|
|
{
|
|
|
_index++;
|
|
|
- if (_index >= FightScoreCfgArray.Instance.dataArray.Length)
|
|
|
+ if (_index >= 0)// FightScoreCfgArray.Instance.dataArray.Length)
|
|
|
{
|
|
|
- if (_prefectCount == FightScoreCfgArray.Instance.dataArray.Length)
|
|
|
+ if (_prefectCount >= 0) // == FightScoreCfgArray.Instance.dataArray.Length)
|
|
|
{
|
|
|
AllCirclePlayStart();//完美八连击
|
|
|
}
|
|
@@ -222,13 +223,18 @@ namespace GFGGame
|
|
|
_ui.m_comAllCircle.m_t0.Play(() =>
|
|
|
{
|
|
|
AllCircleScoreStart();
|
|
|
+ _ui.m_comAllCircle.m_t1.Play(() =>
|
|
|
+ {
|
|
|
+ PlayScoreTWEffect();
|
|
|
+ Timers.inst.Add(1f, 1, Skip);
|
|
|
+ });
|
|
|
+
|
|
|
});
|
|
|
}
|
|
|
private void OnComAllCircleClickBegin()
|
|
|
{
|
|
|
if (_ui.m_comAllCircle.m_imgCircle.visible == false)
|
|
|
{
|
|
|
- // AllCircleScoreStart();
|
|
|
Timers.inst.Remove(ComAllCirclePressTime);
|
|
|
}
|
|
|
else
|
|
@@ -254,18 +260,11 @@ namespace GFGGame
|
|
|
allCircleScore = ScoreSystemData.Instance.GetAllCircleAddScore(_mainScore);
|
|
|
}
|
|
|
|
|
|
- _ui.m_comAllCircle.m_comAllScoreResult.m_txtCount.text = ((int)Math.Round(allCircleScore)).ToString();
|
|
|
+ _ui.m_comAllCircle.m_txtCount.text = ((int)Math.Round(allCircleScore)).ToString();
|
|
|
|
|
|
_time = 0;
|
|
|
_score += allCircleScore;
|
|
|
- // SetScoreUI();
|
|
|
- _ui.m_comAllCircle.m_t1.ignoreEngineTimeScale = false;
|
|
|
- _ui.m_comAllCircle.m_t1.timeScale = EquipDataCache.cacher.fightSpeed;// 1 / _speed;
|
|
|
- _ui.m_comAllCircle.m_t1.Play(() =>
|
|
|
- {
|
|
|
- PlayScoreTWEffect();
|
|
|
- Timers.inst.Add(1f, 1, Skip);
|
|
|
- });
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|
|
@@ -344,6 +343,8 @@ namespace GFGGame
|
|
|
SceneController.AddObjectToView(_gameObject6, _wrapper6, _ui.m_comClickCircle.m_holder, resPath5, out _gameObject6, out _wrapper6);
|
|
|
string resPath6 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_an_sf");
|
|
|
SceneController.AddObjectToView(_gameObject7, _wrapper7, _ui.m_comClickCircle.m_holder1, resPath6, out _gameObject7, out _wrapper7);
|
|
|
+ string resPath7 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_dfzj");
|
|
|
+ SceneController.AddObjectToView(_gameObject8, null, _ui.m_comAllCircle.m_holder, resPath7, out _gameObject8, out GoWrapper _wrapper8, 70);
|
|
|
}
|
|
|
protected override void OnHide()
|
|
|
{
|