Search Unity

UIElements for runtime?

Discussion in 'UI Toolkit' started by PhilSA, Sep 13, 2018.

  1. PhilSA

    PhilSA

    Joined:
    Jul 11, 2013
    Posts:
    1,926
    One thing I find unfortunate about UIElements currently is the seemingly arbitrary decision to make it editor-only. A runtime code-based UI API would be great for dev consoles, debug views, graphs, etc.... These are all cases where using UGUI would just seem weird, tedious and inefficient. IMGUI isn't a very good choice either because it is unintuitive and very slow

    Are there any intentions of making UIElements work at runtime?

    As an added bonus, it could be used to provide a good UI solution that can be used in ECS projects too


     
    Last edited: Sep 13, 2018
    scvnathan and JakubSmaga like this.
  2. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    486
    I would love to see answer on this question too. I think current gameobject-based UI kinda sucks without proper binding tools.
     
  3. JakubSmaga

    JakubSmaga

    Joined:
    Aug 5, 2015
    Posts:
    417
  4. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    789
    It's been stated a few times that it will be for runtime but Editor first Runtime after.

    This is the main instance I can remember

    You'll have to watch a few seconds longer since for some reason its got going to the direct time stamp. 4h23m45s
     
    Last edited: Sep 13, 2018
    PhilSA likes this.
  5. benoitd_unity

    benoitd_unity

    Unity Technologies

    Joined:
    Jan 2, 2018
    Posts:
    331
    FYI, we now have a dedicated sub-forums where you can use for all your questions and feedback related to UI Systems Previews.

    Cheers,
     
    zalogic likes this.
  6. benoitd_unity

    benoitd_unity

    Unity Technologies

    Joined:
    Jan 2, 2018
    Posts:
    331
    Oh and yes :)