how to get time.delta time when time scale is zero unity code example
Example: unity time.deltatime timescale 0
//replace "Time.deltaTime" to this
Time.unscaledDeltaTime
//replace "Time.deltaTime" to this
Time.unscaledDeltaTime