Example #1
0
    private void ShootBullet()
    {
        BaseBullet bullet = bulletPool.GetOrCreate <BaseBullet>();

        bullet.InitializeBullet();
        bullet.SetBulletPos(this.transform.position);
    }