- Home /
Question by
frazoni · Jun 04, 2020 at 10:03 AM ·
timetime.timescale
My Time.timeScale goes to 1 when I start the game even if I change it
I have no idea why this is happening, I don't have any Time.timeScale in my other scripts and even if I just create a new script and attach it to a gameObject and type in the Update method Time.timeScale = 0f, as soon as I hit play, the Time.timeScale goes to 1.
Comment
Answer by Artik2442 · Jun 04, 2020 at 12:03 PM
Does it work like this?
void Start()
{
Time.timeScale = 0f;
}
Use maybe the Time.timeScale = 0f in the Start method...
Your answer
Follow this Question
Related Questions
create a pause state and menu that still allows animations 0 Answers
How do I stop 'timeSinceLevelLoad' without pausing entire game? 2 Answers
Pause game while GUI instructions displayed? 1 Answer
Changing Time.fixedDeltaTime to create slowmotion messes up with physics. 1 Answer
Is it possible to change Time.timeScale to a value bigger than 100? 0 Answers