private IEnumerator FadeYoYo() { StartCoroutine(FadeImage(0, 1, 1.0f)); yield return(new WaitForSeconds(1.1f)); // move camera ToggleFlyHUD(); jetPack.ResetJetpack(); jCamera.ResetCamera(); resultsUI.TogglePullDown(); ScreenShake.instance.StopScreenShake(); shop.Flying = false; destinationUIDown.TogglePullDown(); scorchMark.color = new Color(fadePlane.color.r, fadePlane.color.g, fadePlane.color.b, scorchMarkStartAlpha); selectedCatagories[0] = false; selectedCatagories[2] = false; selectedCatagories[2] = false; SelectCatagory(0); yield return(new WaitForSeconds(1.0f)); StartCoroutine(FadeImage(1, 0, 1.0f)); ToggleUI(); day.EndDay(endOfWeekUI.AnimationTime); if (day.EndOfWeek) { endOfWeekUI.TogglePullDown(); StartCoroutine(CheckForTap()); } else if (day.EndOfDay) { endOfDayUI.TogglePullDown(); StartCoroutine(CheckForTap()); } }
private IEnumerator SlowlyBringInUI() { yield return(new WaitForSeconds(0.5f)); currentStats.TogglePullDown(); yield return(null); componentsSelection.TogglePullDown(); yield return(null); rightButton.TogglePullDown(); yield return(null); leftButton.TogglePullDown(); yield return(null); fireButton.TogglePullDown(); }
public void ShowResultsUI() { resultsUI.TogglePullDown(); }
private void Delayed() { destinationUIDown.TogglePullDown(); }