Reputation:
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
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