private void AdvanceScene() { sceneIndex++; if (sceneIndex == 1) { iPhone.GoToCamera(); } else if (sceneIndex == 2) { textBubble.SetActive(true); bubbleAnimator.SetTrigger("In"); } else if (sceneIndex == 3) { if (textBubbleText.enabled) { textBubbleText.Print(); } else { AdvanceScene(); } } else if (sceneIndex == 4) { for (int i = 0; i < objectsToAppearAfterTextMessage.Length; i++) { objectsToAppearAfterTextMessage[i].SetActive(true); } fadeMaskAnimator.SetTrigger("Fade"); } }