Nope. On each of those if statements a new Random.value is generated. It would work as you've thought only if a variable has been set to be Random.value once, and then re-used in all those if statements.