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