public static void spawnProjectile(projectile proj, Vector3 pos, Vector3 velocity, float shootRange = 20, Transform owner = null) { projectile thisProjectile = proj.Spawn(pos); thisProjectile.Owner = owner; thisProjectile.startShoot(velocity, shootRange); }