|
@@ -26,6 +26,8 @@ namespace GFGGame
|
|
private GameObject _gameObject1;
|
|
private GameObject _gameObject1;
|
|
private GameObject _gameObject2;
|
|
private GameObject _gameObject2;
|
|
private GameObject _gameObject3;
|
|
private GameObject _gameObject3;
|
|
|
|
+ private GameObject _gameObject4;
|
|
|
|
+ private GameObject _gameObject5;
|
|
|
|
|
|
protected override void OnInit()
|
|
protected override void OnInit()
|
|
{
|
|
{
|
|
@@ -144,7 +146,6 @@ namespace GFGGame
|
|
_ui.m_comClickCircle.m_ComScoreResult.m_t0.timeScale = EquipDataCache.cacher.fightSpeed;
|
|
_ui.m_comClickCircle.m_ComScoreResult.m_t0.timeScale = EquipDataCache.cacher.fightSpeed;
|
|
_ui.m_comClickCircle.m_ComScoreResult.m_t0.Play(() =>
|
|
_ui.m_comClickCircle.m_ComScoreResult.m_t0.Play(() =>
|
|
{
|
|
{
|
|
- // _ui.m_comClickCircle.m_grpCircle.visible = true;
|
|
|
|
_ui.m_comClickCircle.m_ComScoreResult.target.visible = false;
|
|
_ui.m_comClickCircle.m_ComScoreResult.target.visible = false;
|
|
CircleResuleEnd();
|
|
CircleResuleEnd();
|
|
PlayScoreTWEffect();
|
|
PlayScoreTWEffect();
|
|
@@ -152,21 +153,10 @@ namespace GFGGame
|
|
});
|
|
});
|
|
UpdateCircleResult(clickState);
|
|
UpdateCircleResult(clickState);
|
|
|
|
|
|
- // _ui.m_comClickCircle.m_t1.ignoreEngineTimeScale = false;
|
|
|
|
- // _ui.m_comClickCircle.m_t1.timeScale = EquipDataCache.cacher.fightSpeed;// 1 / _speed;
|
|
|
|
- // _ui.m_comClickCircle.m_t1.Play(() =>
|
|
|
|
- // {
|
|
|
|
- // CircleResuleEnd();
|
|
|
|
- // });
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
private void UpdateCircleResult(int clickState)
|
|
private void UpdateCircleResult(int clickState)
|
|
{
|
|
{
|
|
//只显示部件分加基础分
|
|
//只显示部件分加基础分
|
|
- // _ui.m_comClickCircle.m_ComScoreResult.m_c1.selectedIndex = clickState;
|
|
|
|
UI_ComScoreResult comScoreResult = UI_ComScoreResult.Proxy(_ui.m_comClickCircle.m_ComScoreResult.target);
|
|
UI_ComScoreResult comScoreResult = UI_ComScoreResult.Proxy(_ui.m_comClickCircle.m_ComScoreResult.target);
|
|
int partId = FightScoreCfgArray.Instance.dataArray[_index].id;
|
|
int partId = FightScoreCfgArray.Instance.dataArray[_index].id;
|
|
double partScore = ScoreSystemData.Instance.GetPartItemScore(partId);
|
|
double partScore = ScoreSystemData.Instance.GetPartItemScore(partId);
|
|
@@ -177,9 +167,7 @@ namespace GFGGame
|
|
comScoreResult.m_txtCount1.text = count.ToString();
|
|
comScoreResult.m_txtCount1.text = count.ToString();
|
|
comScoreResult.m_txtCount2.text = count.ToString();
|
|
comScoreResult.m_txtCount2.text = count.ToString();
|
|
|
|
|
|
- // int partId = FightScoreCfgArray.Instance.dataArray[_index].id;
|
|
|
|
_score += ScoreSystemData.Instance.GetPartScore(partId, clickState, _mainScore, _skillScore);
|
|
_score += ScoreSystemData.Instance.GetPartScore(partId, clickState, _mainScore, _skillScore);
|
|
- // SetScoreUI();
|
|
|
|
}
|
|
}
|
|
|
|
|
|
private void CircleResuleEnd()
|
|
private void CircleResuleEnd()
|
|
@@ -323,10 +311,14 @@ namespace GFGGame
|
|
SceneController.AddObjectToView(_gameObject0, null, _ui.m_holderPartScore, resPath0, out _gameObject0, out GoWrapper _wrapper0);
|
|
SceneController.AddObjectToView(_gameObject0, null, _ui.m_holderPartScore, resPath0, out _gameObject0, out GoWrapper _wrapper0);
|
|
string resPath1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt");
|
|
string resPath1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt");
|
|
SceneController.AddObjectToView(_gameObject1, null, _ui.m_proScore.m_comBar.m_holder, resPath1, out _gameObject1, out GoWrapper _wrapper1);
|
|
SceneController.AddObjectToView(_gameObject1, null, _ui.m_proScore.m_comBar.m_holder, resPath1, out _gameObject1, out GoWrapper _wrapper1);
|
|
- string resPath8 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_cheng");
|
|
|
|
- SceneController.AddObjectToView(_gameObject2, null, _ui.m_comClickCircle.m_ComScoreResult.m_holder1, resPath8, out _gameObject2, out GoWrapper _wrapper2, 59);
|
|
|
|
- string resPath8_1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_lv");
|
|
|
|
- SceneController.AddObjectToView(_gameObject3, null, _ui.m_comClickCircle.m_ComScoreResult.m_holder, resPath8_1, out _gameObject3, out GoWrapper _wrapper3, 59);
|
|
|
|
|
|
+ string resPath2 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_cheng");
|
|
|
|
+ SceneController.AddObjectToView(_gameObject2, null, _ui.m_comClickCircle.m_ComScoreResult.m_holder1, resPath2, out _gameObject2, out GoWrapper _wrapper2, 59);
|
|
|
|
+ string resPath3_1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_lv");
|
|
|
|
+ SceneController.AddObjectToView(_gameObject3, null, _ui.m_comClickCircle.m_ComScoreResult.m_holder, resPath3_1, out _gameObject3, out GoWrapper _wrapper3, 59);
|
|
|
|
+ string resPath3_2 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_sb");
|
|
|
|
+ SceneController.AddObjectToView(_gameObject4, null, _ui.m_comClickCircle.m_ComScoreResult.m_holder2, resPath3_2, out _gameObject4, out GoWrapper _wrapper4, 59);
|
|
|
|
+ string resPath4 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_cz");
|
|
|
|
+ SceneController.AddObjectToView(_gameObject5, null, _ui.m_proScore.m_comBar.m_holder1, resPath4, out _gameObject5, out GoWrapper _wrapper5);
|
|
}
|
|
}
|
|
protected override void OnHide()
|
|
protected override void OnHide()
|
|
{
|
|
{
|
|
@@ -348,6 +340,10 @@ namespace GFGGame
|
|
}
|
|
}
|
|
SceneController.DestroyObjectFromView(_gameObject0);
|
|
SceneController.DestroyObjectFromView(_gameObject0);
|
|
SceneController.DestroyObjectFromView(_gameObject1);
|
|
SceneController.DestroyObjectFromView(_gameObject1);
|
|
|
|
+ SceneController.DestroyObjectFromView(_gameObject2);
|
|
|
|
+ SceneController.DestroyObjectFromView(_gameObject3);
|
|
|
|
+ SceneController.DestroyObjectFromView(_gameObject4);
|
|
|
|
+ SceneController.DestroyObjectFromView(_gameObject5);
|
|
|
|
|
|
base.Dispose();
|
|
base.Dispose();
|
|
|
|
|