|
@@ -76,7 +76,7 @@ namespace GFGGame
|
|
_ui.m_proScore.target.max = fightCfg.score3;
|
|
_ui.m_proScore.target.max = fightCfg.score3;
|
|
_ui.m_proScore.m_comBar.target.width = 0;
|
|
_ui.m_proScore.m_comBar.target.width = 0;
|
|
_ui.m_proScore.m_imgFirstScore.x = (((float)fightCfg.score1 / (float)fightCfg.score3)) * _ui.m_proScore.target.width;
|
|
_ui.m_proScore.m_imgFirstScore.x = (((float)fightCfg.score1 / (float)fightCfg.score3)) * _ui.m_proScore.target.width;
|
|
- _ui.m_proScore.m_txtCount.text = "总分:0";
|
|
|
|
|
|
+ _ui.m_proScore.m_txtCount.text = "总分 0";
|
|
|
|
|
|
_stopFight = false;
|
|
_stopFight = false;
|
|
_index = 0;
|
|
_index = 0;
|
|
@@ -287,7 +287,7 @@ namespace GFGGame
|
|
private void SetScoreUI()
|
|
private void SetScoreUI()
|
|
{
|
|
{
|
|
EquipDataCache.cacher.totalScore = (int)Math.Round(_score);
|
|
EquipDataCache.cacher.totalScore = (int)Math.Round(_score);
|
|
- _ui.m_proScore.m_txtCount.text = "总分:" + Math.Round(_score).ToString();
|
|
|
|
|
|
+ _ui.m_proScore.m_txtCount.text = "总分 " + Math.Round(_score).ToString();
|
|
// _ui.m_proScore.target.TweenValue(_score, 0.2f);
|
|
// _ui.m_proScore.target.TweenValue(_score, 0.2f);
|
|
|
|
|
|
double proportion = _score / _ui.m_proScore.target.max;//(_score + _ui.m_proScore.target.max) > 0 ? _score / (_score + _ui.m_proScore.target.max) : 0;
|
|
double proportion = _score / _ui.m_proScore.target.max;//(_score + _ui.m_proScore.target.max) > 0 ? _score / (_score + _ui.m_proScore.target.max) : 0;
|