Does PUN use Time.timeScale?

I want to make a end screen for my game when a round ends, and I thought it'd be cool to make everything slow down. Does photon use the Time scale at all? Just making sure so I don't run into any bugs


  • Bump
  • Assuming your using RoomProperties or something to broadcast the round end, you canjust hook into that and use this method to lerp each users time scale:
    public static float FloatLerp(float currentValue, float targetValue, float lerpRate) {
        currentValue = Mathf.Lerp(currentValue, targetValue, 1.0f - Mathf.Exp(-lerpRate * Time.deltaTime));
        return currentValue;
Sign In or Register to comment.