Beispiel #1
0
        public void GetBullet(Vector2 spawnPos)
        {
            BulletController bulletController = new BulletController(bulletPrefab, this);

            bulletController.GetBullet.gameObject.transform.position = spawnPos;
        }
Beispiel #2
0
 public void DestroyBullet(BulletController bulletController)
 {
     //bulletController.Destroy();
     bulletControllerList.Remove(bulletController);
     bulletController = null;
 }