private void IntroFadeIn() { introFadeValue += introFadeSpeed * Time.deltaTime; if (introFadeValue > 1) { introFadeValue = 1; } if (introFadeValue == 1) { fightUIDisplay = true; IntroAudioSource.PlayOneShot(announceFight); FIState = FightIntro.FightIntroductionState.IntroFightAnnouncement; } }
private void Intro() { roundDisplay = true; if (round == 1) { IntroAudioSource.PlayOneShot(announceROne); } if (round == 2) { IntroAudioSource.PlayOneShot(announceRTwo); } if (round == 3) { IntroAudioSource.PlayOneShot(announceRThree); } FIState = FightIntro.FightIntroductionState.IntroFadeIn; }