Storyboard.clickedIntro C# (CSharp) Method

clickedIntro() public method

public clickedIntro ( ) : void
return void
    public void clickedIntro()
    {
        if (countIntro == 0) {
            setFlubText("Flubba: Huh? Where am I?");
            countIntro++;
        } else if (countIntro == 1) {
            setFlubText("");
            setEvilText("Voice: Thank god! You made it!");
            countIntro++;
        } else if (countIntro == 2) {
            setEvilText("Voice: Things were looking pretty hairy for a while back there.");
            countIntro++;
        } else if (countIntro == 3) {
            setEvilText("");
            setFlubText("Flubba: What? Who are you?");
            countIntro++;
        } else if (countIntro == 4) {
            setFlubText("");
            setEvilText("Voice: That doesn't matter right now.");
            countIntro++;
        } else if (countIntro == 5) {
            setEvilText("Voice: Right now you just need to get out of here.");
            countIntro++;
        } else if (countIntro == 6) {
            setEvilText("Voice: Don't worry, I'll help you.");
            countIntro++;
        } else if (countIntro == 7) {
            // Story finished progress to level
            Application.LoadLevel("level1");
        }
    }