Exemplo n.º 1
0
    IEnumerator DeathzoneStart()
    {
        RectTransform dRect = deathzone.GetComponent <RectTransform>();

        yield return(StartCoroutine(UIAnimation.ChangeRectSize(dRect, new Vector2(dRect.sizeDelta.x, 250), 10 * Time.deltaTime)));
        //deathzone.GetComponent<Pulse>().enabled = true;
    }