Ejemplo n.º 1
0
    IEnumerator Shoot(int i, int offsets)
    {
        for (; i <= 360; i += offsets)
        {
            StandardFireFunctions.FireDegreeOffset(Instantiate(bullet, transform.position, transform.rotation), i);
        }

        yield return(new WaitForSeconds(burstTime));
    }