B
B
Bezzy2018-06-01 10:49:56
C++ / C#
Bezzy, 2018-06-01 10:49:56

How to limit fps in the game?

I want to limit fps in a mobile game to 60. I know about the Application.targetFrameRate command, but I don’t know where exactly to write it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2018-06-01
@GavriKos

Write to the point in the code after which you need this FPS value. It is possible in Awake of some kind of god object, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question