Search Unity

  1. How can our website serve you better? Give us your feedback. Take our survey and let us know.
    Dismiss Notice

performance vs uGUI when events are turned off?

Discussion in 'Immediate Mode GUI (IMGUI)' started by laurentlavigne, Feb 7, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,246
    According to profiler the events section of OnGUI is eating up 3ms. I was wondering if this includes drawing or just the event polling is super slow.
    And in comparison to uGUI, is OnGUI really that much slower? I know devs have optimized it a lot in the past 5 years so perhaps onGUI isn't that slow.
     
unityunity