public BulletController(BulletScriptableObject _bulletProperties, BulletPool _parentPool) { view = GameObject.Instantiate <BulletView>(_bulletProperties.bulletPrefab, Vector3.zero, Quaternion.identity); parentPool = _parentPool; }
private void Start() { playerBulletPool = new BulletPool(); }