IEnumerator LaunchText() { float oldMoveSpeed = snowBallScript.movementSpeed; snowBallScript.SlowDown(); fader.FadeIn(mightNotMeanMuchText); yield return(new WaitForSeconds(2)); fader.FadeIn(iBelieveInYOuText); instructionScript.FadeOut(); yield return(new WaitForSeconds(2)); fader.FadeIn(followYourDreamsText); yield return(new WaitForSeconds(2)); snowBallScript.movementSpeed = oldMoveSpeed; snowBallScript.maxScale = snowBallScript.maxScale * 15; fader.FadeOut(mightNotMeanMuchText); yield return(new WaitForSeconds(1)); fader.FadeOut(iBelieveInYOuText); yield return(new WaitForSeconds(1)); fader.FadeOut(followYourDreamsText); yield return(new WaitForSeconds(4)); instructionScript.UpdateInstructionText("Hold W to keep holding on"); camera.RotateCamera(200); hasBeenTriggered = true; yield return(new WaitForSeconds(2)); hasBeenPromptedToHoldOn = true; }
IEnumerator LaunchNewHouseText() { float oldMoveSpeed = snowBallScript.movementSpeed; snowBallScript.SlowDown(); fader.FadeIn(mightGetLostText); yield return(new WaitForSeconds(4)); fader.FadeIn(youJustCantStopText); instructionScript.UpdateInstructionText("Hold W to not stop"); yield return(new WaitForSeconds(1.5f)); fader.FadeOut(mightGetLostText); fader.FadeOut(youJustCantStopText); Destroy(lightpost); yield return(new WaitForSeconds(1.5f)); snowBallScript.movementSpeed = oldMoveSpeed; camera.RotateCamera(220); yield return(new WaitForSeconds(8)); fader.FadeIn(youHavetToKeepMovingOnText); instructionScript.FadeOut(); yield return(new WaitForSeconds(2)); instructionScript.UpdateInstructionText("Hold W to keep moving on"); yield return(new WaitForSeconds(3)); }
IEnumerator LaunchText() { float oldMoveSpeed = snowBallScript.movementSpeed; snowBallScript.SlowDown(); fader.FadeIn(whereDoYouThinkYoureHeadedText); instructionScript.FadeOut(); yield return(new WaitForSeconds(3)); fader.FadeOut(whereDoYouThinkYoureHeadedText); yield return(new WaitForSeconds(1.5f)); snowBallScript.movementSpeed = oldMoveSpeed; camera.RotateCamera(250); hasBeenTriggered = true; instructionScript.UpdateInstructionText("Hold W to head towards the unknown"); }
IEnumerator LaunchNewHouseText() { float oldMoveSpeed = snowBallScript.movementSpeed; snowBallScript.SlowDown(); fader.FadeIn(newHouseText); yield return(new WaitForSeconds(4)); fader.FadeIn(itsNotText); yield return(new WaitForSeconds(2)); instructionScript.UpdateInstructionText("Hold W to feel like home"); yield return(new WaitForSeconds(1)); snowBallScript.movementSpeed = oldMoveSpeed; yield return(new WaitForSeconds(3)); instructionScript.FadeOut(); }
IEnumerator LaunchOutgrowText() { float oldSpeed = snowBallScript.movementSpeed; snowBallScript.SlowDown(); fader.FadeIn(tooBigText); yield return(new WaitForSeconds(5)); fader.FadeIn(everybodyDoesText); yield return(new WaitForSeconds(2)); fader.FadeOut(tooBigText); fader.FadeOut(everybodyDoesText); fader.FadeIn(soYouMoveOnText); snowBallScript.movementSpeed = oldSpeed; yield return(new WaitForSeconds(1)); instructionScript.UpdateInstructionText("Hold W to move on"); yield return(new WaitForSeconds(4)); instructionScript.FadeOut(); GetComponent <OutgrowTextLauncherScript>().enabled = false; }