Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Anyway to get content height?

Discussion in 'Immediate Mode GUI (IMGUI)' started by ununion, Nov 18, 2022.

  1. ununion

    ununion

    Joined:
    Dec 2, 2018
    Posts:
    272
    for example
    guilayout.beginArea(rect);
    gui.button(..)
    ...
    guilayout.endArea;

    my question is how to get the rect.height?