Esempio n. 1
0
 IEnumerator shootBullet()
 {
     while (true)
     {
         BulletScript.CreateBullet(bullet, gameObject, new Vector3(0, 0.25f, 0));
         yield return(new WaitForSeconds(0.1f));
     }
 }