public override SoundInstance TestInEditor(ISoundPool soundPool) { ImpactSoundInstance sound = Fetch(soundPool, _velocityRange.ChooseRandom()); if (sound != null && (_cooldown <= 0 || TimeSinceLastPlayed > _cooldown)) { sound.Play2D(); OnPlayed(sound); return(sound); } return(null); }