void UpdateScore(int newScore) { ScoreUpdater score = ScoreUpdater.GetInstance(); if (score) { score.UpdateScore(newScore); } }
void Awake() { instance = this; }