Initial card audio

This commit is contained in:
2025-11-19 15:51:54 +01:00
parent fee5515bbd
commit a432fd45bd
56 changed files with 1102 additions and 8 deletions

View File

@@ -444,6 +444,13 @@ namespace UI.CardSystem
// Generate the impulse with strength 1 and random velocity
impulseSource.GenerateImpulse(randomVelocity);
}
// Cycle through audio clips depending on how much the booster was tapped
if (currentTaps <= maxTaps)
{
AudioManager.Instance.LoadAndPlayUIAudio($"buildup_loop{currentTaps}",true);
}
}
/// <summary>
@@ -468,6 +475,9 @@ namespace UI.CardSystem
// Play the particle system
openingParticleSystem.Play();
}
// Play fanfare audio clio
AudioManager.Instance.LoadAndPlayUIAudio("Fanfare",false);
}
/// <summary>