|
@@ -110,9 +110,10 @@ namespace GFGGame
|
|
|
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_dfzj");
|
|
|
- SceneController.AddObjectToView(_gameObject13, null, _ui.m_comMineCircle.m_holder, resPath8, out _gameObject13, out GoWrapper _wrapper13, 55);
|
|
|
- SceneController.AddObjectToView(_gameObject14, null, _ui.m_comTargetCircle.m_holder, resPath8, out _gameObject14, out GoWrapper _wrapper14, 55);
|
|
|
+ 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");
|
|
|
+ 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);
|
|
@@ -296,7 +297,7 @@ namespace GFGGame
|
|
|
StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(levelCfg.fightID);
|
|
|
_ui.m_proScore.m_txtNpcScore.text = string.Format("{0}{1}", fightCfg.targetName, (int)_targetScore);
|
|
|
_ui.m_proScore.m_txtMineScore.text = string.Format("{0}{1}", RoleDataManager.roleName, (int)_score);
|
|
|
- _ui.m_proScore.m_comBar.m_imgAni.visible = true;
|
|
|
+ // _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);
|
|
@@ -325,14 +326,16 @@ namespace GFGGame
|
|
|
_ui.m_comTargetCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_index + 1).name;
|
|
|
if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)
|
|
|
{
|
|
|
- _ui.m_comMineCircle.m_t0.Play(1, 0, 0, 1f, () =>
|
|
|
+ _ui.m_comMineCircle.m_t0.Play(1, 0, 0, 0.75f, () =>
|
|
|
{
|
|
|
- _ui.m_comMineCircle.m_imgGuide.visible = true;
|
|
|
+ _ui.m_comMineCircle.m_holder.visible = false;
|
|
|
+ // _ui.m_comMineCircle.m_loaIcon.visible = true;
|
|
|
playStop = true;
|
|
|
});
|
|
|
- _ui.m_comTargetCircle.m_t0.Play(1, 0, 0, 1f, () =>
|
|
|
+ _ui.m_comTargetCircle.m_t0.Play(1, 0, 0, 0.75f, () =>
|
|
|
{
|
|
|
- _ui.m_comTargetCircle.m_imgGuide.visible = true;
|
|
|
+ _ui.m_comTargetCircle.m_holder.visible = false;
|
|
|
+ // _ui.m_comTargetCircle.m_loaIcon.visible = true;
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
@@ -604,7 +607,7 @@ namespace GFGGame
|
|
|
_ui.m_proScore.target.max = 100;
|
|
|
_ui.m_proScore.target.value = 0;
|
|
|
_ui.m_proScore.m_comBar.target.width = 0;
|
|
|
- _ui.m_proScore.m_comBar.m_imgAni.visible = false;
|
|
|
+ // _ui.m_proScore.m_comBar.m_imgAni.visible = false;
|
|
|
|
|
|
_ui.m_comMineCircle.target.visible = false;
|
|
|
_ui.m_comTargetCircle.target.visible = false;
|