// Set the verse text to the one specified, and fade it in or out public void FadeVerse(bool active, int verse = 1) { if (active && verses [verse - 1] != null) { textBox.text = verses [verse - 1]; } textFader.Fade(active); }
// Start the process of game over public void EndGame(bool movingOn) { gameOver = true; // If we're moving on, load the next stage if (movingOn) { sceneFade.Fade(true); Invoke("LoadNextScene", loadTime); } // Otherwise, reload this current scene else { Invoke("ReloadScene", loadTime); } }
void Start() { fader.Fade(false); }