K
K
ksanvat2012-07-15 21:57:46
Programming
ksanvat, 2012-07-15 21:57:46

How to control fps in Unity3D?

How to control the number of frames per second in the Unity3D development environment?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
esin, 2012-07-16
@ksanvat

Application.targetFrameRate = 30; // C#
I can't tell you about the number of frames per second in the environment itself. But to limit fps in the final compiled product - what is written above.

F
focus, 2014-04-10
@focus

If the question was about displaying FPS in the game, then the editor has a special Stats panel with useful information, including FPS, the number of DCs per frame, etc.
But if you need to see the FPS in an already compiled game, on the target device, then I would recommend my plugin for this purpose: Advanced FPS Counter. You can read more about the plugin here: codestage.net/uas/afps

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question