コード例 #1
0
    private IEnumerator ExeucteCoroutine()
    {
        groundController.PanelGroundOff();
        yield return(StartCoroutine(GameManager.instance.fadeManager.SpriteFadeInCoroutine(whiteBackgroundSpriteRenderer, 2.5f)));

        backgroundSpriteRenderer.sprite = fifthPhaseBackgroundWhite;
        yield return(StartCoroutine(GameManager.instance.fadeManager.SpriteFadeOutCoroutine(whiteBackgroundSpriteRenderer, 2.5f)));

        buildingObject.ChangeBulidingColorGray();
        buildingObject.BulidingOn();

        yield return(StartCoroutine(buildingObject.ScaleDownCoroutine()));

        buildingObject.ScaleReset();
        buildingObject.ChangeBulidingColorBlack();

        backgroundSpriteRenderer.sprite = fifthPhaseBackgroundBlack;
    }