private void ShowAttractNumGuest() { if (_ResultNumTotalStartTime == 0) { _ResultNumTotalStartTime = RESULT_NUM_ACT_TOTAL_TIME; _SelfTotalNum.text = _RoundResult.SelfAttractNum.ToString(); _EnemyTotalNum.text = _RoundResult.EnemyAttractNum.ToString(); } else { _ResultNumTotalStartTime -= Time.deltaTime; if (_ResultNumTotalStartTime <= 0) { _ResultNumTotalStartTime = 0; _ResultAnimStage = ResultAnimStage.AttractEnd; _InfoPanel.SetActive(false); } } }
private void ShowPointNumAnim2() { if (_ResultNumAct2StartTime == 0) { _ResultNumAct2StartTime = RESULT_NUM_ACT2_TIME; for (int i = 0; i < _SelfPointTx.Length; ++i) { string valueStr = _RoundResult.SelfPointBase[i].ToString() + "+<color=#00ff00ff>" + (_RoundResult.SelfPointFinal[i] - _RoundResult.SelfPointBase[i]).ToString() + "</color>"; _SelfPointTx[i].text = valueStr; valueStr = _RoundResult.EnemyPointBase[i].ToString() + "+<color=#00ff00ff>" + (_RoundResult.EnemyPointFinal[i] - _RoundResult.EnemyPointBase[i]).ToString() + "</color>"; _EnemyPointTx[i].text = valueStr; } } else { _ResultNumAct2StartTime -= Time.deltaTime; if (_ResultNumAct2StartTime <= 0) { _ResultNumAct2StartTime = 0; _ResultAnimStage = ResultAnimStage.PointNumTotal; } } }
private void StartRecultAnim() { InitResultPanel(); _ResultAnimStage = ResultAnimStage.AttractMoveIn; }