Have i been sitting in front of the code too long? To me it seems that 1.254771 is evaluated to be less than or equal to 0.255?
Both are floats. Maybe im just reserving things in my head but if i want true only if audiosrc.time is less than or equal to sfxPriorityRange this is correct right?
This is the code
foreach (var audiosrc in playingAs)
{
if (audiosrc.time <= sfxPriorityRange)
{
hiPriorityAs.Add(audiosrc);
}
}