protected void UpdateText() { LifeTimeState lts = this.statsLogger.lifeTimeState; linesCleared.text = lts.TotalLines.ToString(); gamesPlayed.text = lts.TotalGames.ToString(); totalSoftdrop.text = lts.TotalSoftDrop.ToString(); }
private void Awake() { lifeTimeState = this.GetComponent <LifeTimeState>(); }