introduce
How to change the frame rate in unity
method one
Change the frame rate via the editor:
a. In the Unity Editor, select the Edit menu, then select Project Settings.
b. Select the Time tab in the Project Settings.
c. In the "Time" tab, set the "Fixed Timestep" option to the desired frame rate. The default value is 0.02 seconds, which is 50 frames per second.
Method 2
Script to set frame rate
public float globalFrameRate = 100f;
void Update()
{
Application.targetFrameRate = globalFrameRate;
}