Ejemplo n.º 1
0
    IEnumerator wait()
    {
        simpleAnim.toAnimationFrame(1);
        yield return(new WaitForSeconds(resetTime));

        simpleAnim.toAnimationFrame(0);
        blocked = false;
    }