- Home /
locking the FPS???
I see in consoles games, that the dev team will lock the frame rate at a locked frame rate (well, I read about it for the newest Infamous game, kept is at 30fps after an update)
I was wondering how to locking the frames. Is that programmed in? Or is there a way to control it in the Unity engine, or even an store asset?
Answer by rutter · May 14, 2014 at 10:48 PM
You can set Application.targetFrameRate.
Word of caution, though:
Note that setting targetFrameRate does not guarantee that frame rate. There can be fluctuations due to platform specifics, or the game might not achieve the frame rate because the computer is too slow.
Your answer
Follow this Question
Related Questions
Lock the screen 1 Answer
Lock cursor everywhere not center,how? 1 Answer
Quaternion LookRotation/Slerp Axis Lock 3 Answers
Help with clearing bugs in this C# script 1 Answer
Modifying the pause menu to have screen.lockcursor on at start 1 Answer