Time.scale Issue

I have a funny wee bug with a little bit of code that used to work well; Using this:

    			Time.timeScale = 0.2;
    			yield WaitForSeconds (0.6);
    			Time.timeScale = 1.0;

yesterday returned the time scale just fine to normal.
now only works with one more decimal - 0.06. Using 0.6 will never
return the time scale to 1.0; I have no idea why this occurs, you? :slight_smile:

try this line:

Time.fixedDeltaTime = 0.02 * Time.timeScale;

like this:.

function Update () {
if (Input.GetButtonDown ("Fire1")) {
    if (Time.timeScale == 1.0)
        Time.timeScale = 0.7;
    else
        Time.timeScale = 1.0;
        Time.fixedDeltaTime = 0.02 * Time.timeScale;
}

}