I want to make a fade effect on pause menu. The problem is, that when i press escape button, i set Time.timeScale = 0
, and my fade out texture doesn’t fade, because I change it’s alpha value with Time.deltaTime
. Is there any way around? I want to make that on every computer fade time would be the same.
Thanks!
You can use Time.unscaledDeltaTime
I haven’t found the minimum version of Unity that implements this though.
I know this question was long ago, but it still appears on google when you look for it.
use System.DateTime.Now instead. it’s not affected by TimeScale 8)