重做杂兵
This commit is contained in:
@@ -176,7 +176,7 @@ namespace Cielonos.MainGame.Characters
|
||||
bulletSpawnerTransform.forward = (player.centerPoint.position - bulletSpawnerTransform.position).normalized;
|
||||
|
||||
vfxData.SpawnMuzzleVFX("NormalBullet", bulletSpawnerTransform);
|
||||
audioSc.audioContainer.PlaySoundFX("NormalBullet_Shoot", bulletSpawnerTransform.position);
|
||||
//audioSc.audioContainer.PlaySoundFX("NormalBullet_Shoot", bulletSpawnerTransform.position);
|
||||
Projectile projectile = vfxData.SpawnVFX("NormalBullet", bulletSpawnerTransform).GetComponentInChildren<Projectile>();
|
||||
|
||||
projectile.Initialize(this, null, false, 1, Fraction.Player)
|
||||
@@ -198,7 +198,7 @@ namespace Cielonos.MainGame.Characters
|
||||
bulletSpawnerTransform.forward = (player.centerPoint.position - bulletSpawnerTransform.position).normalized;
|
||||
|
||||
vfxData.SpawnMuzzleVFX("ShockwaveMissile", bulletSpawnerTransform);
|
||||
audioSc.audioContainer.PlaySoundFX("ShockwaveMissile_Shoot", bulletSpawnerTransform.position);
|
||||
//audioSc.audioContainer.PlaySoundFX("ShockwaveMissile_Shoot", bulletSpawnerTransform.position);
|
||||
Projectile projectile = vfxData.SpawnVFX("ShockwaveMissile", bulletSpawnerTransform).GetComponentInChildren<Projectile>();
|
||||
|
||||
projectile.Initialize(this, null, false, 1, Fraction.Player)
|
||||
@@ -220,7 +220,7 @@ namespace Cielonos.MainGame.Characters
|
||||
bulletSpawnerTransform.forward = (player.centerPoint.position - bulletSpawnerTransform.position).normalized;
|
||||
|
||||
vfxData.SpawnMuzzleVFX("PiercingBullet", bulletSpawnerTransform);
|
||||
audioSc.audioContainer.PlaySoundFX("PiercingBullet_Shoot", bulletSpawnerTransform.position);
|
||||
//audioSc.audioContainer.PlaySoundFX("PiercingBullet_Shoot", bulletSpawnerTransform.position);
|
||||
Projectile projectile = vfxData.SpawnVFX("PiercingBullet", bulletSpawnerTransform).GetComponentInChildren<Projectile>();
|
||||
|
||||
projectile.Initialize(this, null, false, 1, Fraction.Player)
|
||||
|
||||
Reference in New Issue
Block a user