Search Unity

Frame Rate

Discussion in 'Immediate Mode GUI (IMGUI)' started by Fuzzypup, Apr 9, 2021.

  1. Fuzzypup

    Fuzzypup

    Joined:
    Aug 13, 2013
    Posts:
    162
    How do we slowdown the frame rate for OnGui() ???? since it is CPU heavy?

    fixed update I can change the rate like so.
    Time.fixedDeltaTime = .1f;

    But I have researched for OnGui and I can't find anything
     
  2. Fuzzypup

    Fuzzypup

    Joined:
    Aug 13, 2013
    Posts:
    162
    FYI as of 2 months later... I still have not found a solution to this. But I asked Unity coders to do it. Shouldn't be that hard to do since it is an isolated system they don't want us to use that used to be used.

    I prefer coding my own UI and not relying on a stack of teired objects. I can't remember all those clicks and adds and items.
     
  3. Fuzzypup

    Fuzzypup

    Joined:
    Aug 13, 2013
    Posts:
    162
    Today I made a very simple 75 line static class so players could change their hot keys in my new game. It changes, saves, and loads the hotkeys. It is far simpler than the overly complex videos I saw on youtube using the new way of doing GUI with the objects.
     
unityunity