fix Q25
遊戲1,遊戲2的報表
This commit is contained in:
parent
5f4debfd7f
commit
40e56630e6
@ -217,6 +217,9 @@ public class ServerGameTalkingPanel : MonoBehaviour
|
||||
{
|
||||
playChatText.text = "";
|
||||
statusText.text = "倒計時 : <color=\"red\">" + gameTimeCountdownSecVal.ToString() + "</color>s";
|
||||
//打開時更新數值
|
||||
int[] scores = { GlobalData.VIRTUE_SCORE, GlobalData.KARMA_SCORE, GlobalData.SINCERITY_SCORE };
|
||||
customReportScript.SetAllCustomerValues(scores);
|
||||
StartCoroutine(GameTimeCountdown());
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,6 +65,9 @@ public class ServerGameTypingPanel : MonoBehaviour
|
||||
if (step == 3)
|
||||
{
|
||||
checkText.text = result;
|
||||
//打開時更新數值
|
||||
int[] scores = { GlobalData.VIRTUE_SCORE, GlobalData.KARMA_SCORE, GlobalData.SINCERITY_SCORE };
|
||||
customReportScript.SetAllCustomerValues(scores);
|
||||
StartCoroutine(GameTimeCountdown());
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,9 +57,14 @@ public class CustomerReportSystem : MonoBehaviour
|
||||
// 私有變數
|
||||
private int[] customerValues = new int[3];
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
//改在Awake時設定預設
|
||||
InitializeCustomerReport();
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
InitializeCustomerReport();
|
||||
SetupEventListeners();
|
||||
UpdateCustomerValueDisplays();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user