WaitForSeconds is a function, that might look something like this:
function WaitForSeconds (timer : float) {
var t = 0.0;
while (t < timer) {
t += Time.deltaTime;
yield;
}
}
If you call the function without yielding, it will still do exactly what it says, but since all it does it wait, calling without yielding won’t have any visible effect, other than giving the CPU a bit more work to do.
I’m not sure why you’d want to use WaitForSeconds in that case at all. Also your example probably doesn’t work as intended since it’s framerate-dependent.
I’m still not sure why you want to replace yield with yield WaitForSeconds in the first place. If you move something a bit and then wait for 10 seconds, of course it won’t be smooth.