user5899193
user5899193

Reputation:

Always operate at Time.timeScale = 1?

How do I make a specific script always operate at Time.timeScale = 1 no matter what? I want it to override even when another script calls Time.timeScale = 0 for example.

Upvotes: 1

Views: 106

Answers (1)

Mtihc
Mtihc

Reputation: 221

You need to start your own coroutine, with StartCoroutine() in your coroutine you can use yield return new WaitForSeconds(sec) where sec is equal to whatever your timestep is. See Edit > Project Settings > Time

Upvotes: 1

Related Questions