public void GameOver() { endingMessage.text = "End of your journey!\nYou collected " + coinCounter.GetComponent <CoinCounter>().count.ToString() + " coins"; player.enabled = false; gatherer.enabled = false; StartCoroutine(WaitFewSeconds()); //Show the Ranking here //Add the average speed to the ranking here }