Search Unity

UIElements developer guide

Discussion in 'UIElements' started by antoine-unity, Mar 20, 2019.

  1. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    58
    Hello,

    As the API is going out of experimental in 2019.1 we have improved the developer guide and moved it out of the experimental section.

    Any feedback is appreciated about what you feel is missing or should be further documented.

    We are working on a best practice guide explaining how to best implement custom elements as well as potential performance considerations.

    Thanks.
     
  2. jwvanderbeck

    jwvanderbeck

    Joined:
    Dec 4, 2014
    Posts:
    462
    The page on uQuery is painfully sparse. Is there more complete documentation with examples anywhere? At the very least there should be examples of how to query objects with different selectors.
     
  3. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    58
    You are right that the uQuery doc is lacking. We will improve this.
     
    Last edited: Mar 27, 2019
  4. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    3,863
    I'd love to see links to basic examples in that page. How to create a custom inspector using UIElements, how to write an editor window, etc.

    I've seen such examples earlier, but I can't quite remember where they are, so having links in the developer guide would be nice.

    As for now, the developer guide has a ton of information about the parts of the system (visual tree, layout engine, etc.), but no context for any of those things.
     
  5. GilbertoBitt

    GilbertoBitt

    Joined:
    May 27, 2013
    Posts:
    70
  6. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    58
    Sarkahn likes this.