public void ClickButton() { if (!hit) { hit = true; StartCoroutine(SubmitScore(username.SubmitName(), GlobalSingleton.GetScore())); } }
// Messages: void Start() { for (int i = 0; i <= GlobalSingleton.GetScore(); ++i) { notes.Add(GenerateNote(i)); } liveNotes = new List <NoteController>(); NoteController.numMissed = 0; }
// Event: void UpdateScore() { text.text = GlobalSingleton.GetScore().ToString(); }