Powerups: Making them modular

Since I plan on having more than just 1 power-up, I will make it something a bit more modular.

public class Player : MonoBehaviour
{
//....
private void ActivatePowerup(int powerupID)
{
if (powerupID == 0)
{
StartCoroutine(TripleShotRoutine());
}
if (powerupID == 1)
{
// increase speed routine
}
}
}