Question by
Tohaveaname · Nov 11, 2018 at 05:39 PM ·
fpsgraphicsstats
How to get Graphics fps stat from stat window in code?
I am trying to access the graphics fps by using:
UnityEditor.UnityStats.frameTime;
This however is returning zero every frame. What should I be doing?
Comment
Answer by Tohaveaname · Nov 11, 2018 at 10:43 PM
Also this code is for an in editor script not for the final build I just need it to flag in the logs when a certain frame rate is reached.
Your answer
![](https://koobas.hobune.stream/wayback/20220612181942im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Weird graphic like Window dragging glitch 0 Answers
Object movement or rotation Stutter 0 Answers
im bottlenecked by QuadTreeNode.Render... what is it? 2 Answers
Device.present, Overhead, camera.render slowing the fps 0 Answers
How to move character FPS mode 0 Answers