private void Start() { Instance = this; _bulletPrefab = null; _bulletCount = 30; _bullets = new List <GameObject>(); CreatePool(_bulletPrefab, _bulletCount); }
void Start() { _bulletPool = BulletPool.Instance; }