/// <summary>
/// Fires the one shot.
/// </summary>
/// <param name="_target">Target.</param>
public void FireOneShot(Transform _target)
{
if (Ammunition.Enabled)
{
Ammunition.Fire(_target);
}
if (Recoil.Enabled)
{
Recoil.Start();
}
if (LaunchSound.Enabled)
{
LaunchSound.Play();
}
if (MuzzleFlash.Enabled)
{
MuzzleFlash.Start();
}
if (Shell.Enabled)
{
Shell.Start();
}
if (Effect.Enabled)
{
Effect.Start(OwnerComponent);
}
}