public HasActiveChannelOfType ( SoundType type ) : bool | ||
type | SoundType | |
Résultat | bool |
public bool HasActiveChannelOfType(SoundType type)
{
lock (_gate)
{
for (var i = 0; i != NumChannels; i++)
if (_channels[i] != null && _channels[i].Type == type)
return true;
return false;
}
}