|
@@ -83,16 +83,19 @@ namespace GFGGame
|
|
});
|
|
});
|
|
_ui.m_comMineCircle.target.onClick.Add(() =>
|
|
_ui.m_comMineCircle.target.onClick.Add(() =>
|
|
{
|
|
{
|
|
- if (_index == 0 && GuideDataManager.GetGuideCountCopy(ConstGuideId.TARGET_FIGHT) <= 0 && playStop)
|
|
|
|
|
|
+ _ui.m_btnSkill0.target.touchable = true;
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ _ui.m_btnSkill0.target.onClick.Add(() =>
|
|
|
|
+ {
|
|
|
|
+ if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0 && playStop)
|
|
{
|
|
{
|
|
playStop = false;
|
|
playStop = false;
|
|
- _ui.m_comTargetCircle.target.visible = false;
|
|
|
|
- _ui.m_comMineCircle.target.visible = false;
|
|
|
|
|
|
+ // _ui.m_comTargetCircle.target.visible = false;
|
|
|
|
+ // _ui.m_comMineCircle.target.visible = false;
|
|
|
|
|
|
_ui.m_comMineCircle.m_t0.Play(CircleScoreEnd);
|
|
_ui.m_comMineCircle.m_t0.Play(CircleScoreEnd);
|
|
_ui.m_comTargetCircle.m_t0.Play();
|
|
_ui.m_comTargetCircle.m_t0.Play();
|
|
- _ui.m_btnSkill0.target.touchable = true;
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
});
|
|
});
|
|
_ui.m_btnSpeedUp.onClick.Add(OnBtnSpeedUp);
|
|
_ui.m_btnSpeedUp.onClick.Add(OnBtnSpeedUp);
|
|
@@ -128,7 +131,7 @@ namespace GFGGame
|
|
_mainScore = ScoreSystemData.Instance.GetMainScore();
|
|
_mainScore = ScoreSystemData.Instance.GetMainScore();
|
|
_targetMainScore = fightCfg.targetMainScore;
|
|
_targetMainScore = fightCfg.targetMainScore;
|
|
|
|
|
|
- if (_index == 0 && GuideDataManager.GetGuideCountCopy(ConstGuideId.TARGET_FIGHT) <= 0)
|
|
|
|
|
|
+ if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)
|
|
{
|
|
{
|
|
_ui.m_btnSkill0.target.touchable = false;
|
|
_ui.m_btnSkill0.target.touchable = false;
|
|
}
|
|
}
|
|
@@ -139,7 +142,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
Reset();
|
|
Reset();
|
|
|
|
|
|
- if (_index == 0 && GuideDataManager.GetGuideCountCopy(ConstGuideId.TARGET_FIGHT) <= 0)//引导中禁止自动战斗
|
|
|
|
|
|
+ if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)//引导中禁止自动战斗
|
|
{
|
|
{
|
|
EquipDataCache.cacher.fightSpeed = 1;
|
|
EquipDataCache.cacher.fightSpeed = 1;
|
|
EquipDataCache.cacher.autoPlay = false;
|
|
EquipDataCache.cacher.autoPlay = false;
|
|
@@ -236,7 +239,7 @@ namespace GFGGame
|
|
|
|
|
|
_ui.m_comTargetCircle.target.visible = true;
|
|
_ui.m_comTargetCircle.target.visible = true;
|
|
_ui.m_comTargetCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_index + 1).name;
|
|
_ui.m_comTargetCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_index + 1).name;
|
|
- if (_index == 0 && GuideDataManager.GetGuideCountCopy(ConstGuideId.TARGET_FIGHT) <= 0)
|
|
|
|
|
|
+ if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)
|
|
{
|
|
{
|
|
_ui.m_comMineCircle.m_t0.Play(1, 0, 0, 0.75f, () =>
|
|
_ui.m_comMineCircle.m_t0.Play(1, 0, 0, 0.75f, () =>
|
|
{
|
|
{
|