protected void InitBullet(Vector3 shootPosition, Vector3 shootDirection, float bulletVelocity, float bulletDamage) { currentBullet = SimplePool.Spawn(bulletPrefab, shootPosition, Quaternion.identity); currentBullet.BulletController(this); currentBullet.transform.SetParent(transform); currentBullet.SetBulletVelocity(Vector3.Normalize(shootDirection) * bulletVelocity); currentBullet.SetBulletDamage(bulletDamage); currentBulletQuantity++; }