// Start is called before the first frame update
 void Start()
 {
     startTime         = Time.time;
     currentTotalScore = fullData.getCurrentTotalScore();
     scoreText.SetText(currentTotalScore.ToString());
     TimeUpdate();
     actualScore = 1000;
 }
Esempio n. 2
0
 public void ActivateMainSumary()
 {
     summaryPanel.SetActive(true);
     bossSummaryPanel.SetActive(false);
     mazeScore.SetText("Maze Score: " + previousLevelData.GetLevelScore().ToString("00000"));
     mazeTime.SetText("Time To Complete: " + previousLevelData.getMinutes().ToString("00") + ":" + previousLevelData.getSeconds().ToString("00"));
     bossScore.SetText("Boss Score: " + previousLevelData.GetBossScore().ToString("00000"));
     bossInocrect.SetText("Answered Incorrectly: " + previousLevelData.GetWrong().ToString());
     levelScore.SetText("Level Score: " + (previousLevelData.GetBossScore() + previousLevelData.GetLevelScore()).ToString());
     totalScore.SetText("Total Score: " + finalData.getCurrentTotalScore().ToString("00000"));
 }
Esempio n. 3
0
 void Start()
 {
     Debug.Log(String.Format("[!] API Loaded"));
     scoreField.text = "Points: " + globalData.getCurrentTotalScore().ToString();
 }