Exemplo n.º 1
0
    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());
        }
    }
Exemplo n.º 2
0
    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();
    }
Exemplo n.º 3
0
 public void ShowResultsUI()
 {
     resultsUI.TogglePullDown();
 }
Exemplo n.º 4
0
 private void Delayed()
 {
     destinationUIDown.TogglePullDown();
 }