unity timescale 0 for period of time code example Example: unity time.deltatime timescale 0 //replace "Time.deltaTime" to this Time.unscaledDeltaTime