Пример #1
0
    IEnumerator TransTrue()
    {
        yield return(new WaitForSeconds(1f));

        anim.SetBool("Trans", true);
        yield return(new WaitForSeconds(2f));

        flower.gameObject.SetActive(true);
        flower.Bloom();
        yield return(new WaitForSeconds(4f));

        anim.SetBool("Trans", false);
    }