Search Unity

UI Elements at Runtime for Game UI?

Discussion in 'UIElements' started by Claytonious, Nov 2, 2018.

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    578
    Is the plan to offer UI Elements as an option for in-game UI instead of only for editor tooling? If so, what is the roadmap for that and when/how might we be able to start playing with it so we can do some benchmarking, planning, and assessment to decide if we might want to start migrating away from the (painfully slow) uGUI/Canvas stuff in the future?

    Thanks!
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    221
    There is indeed a plan to have UIElements running in-game. We'll have a preview of that sometime in 2019. However, the focus right now (for 2019.1) is running UIE in the Editor only.
     
  3. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    411
    @uDamian Is it the aim that UIElements supersedes the current UI system, e.g. the one on bitbucket? Will that be eventually deprecated in favour of this system, or do they co-exist like OnGUI and UGUI right now.
     
    Last edited: Nov 6, 2018
  4. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    221
    Not sure which UI system you're referring to here.

    Eventually, when we're ready and it makes sense, UIElements will indeed replace IMGUI and uGui. But that won't happen for a long time. Until then, UIElements will co-exist with the existing frameworks.
     
    Laicasaane and TJHeuvel-net like this.
  5. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    411
  6. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    221
  7. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    4,220
    Nope, it's got the entire source for uGUI. For example, here's Button.

    Sadly, it's pretty outdated, as it's not been updated since February this year.
     
  8. benoitd_unity

    benoitd_unity

    Unity Technologies

    Joined:
    Jan 2, 2018
    Posts:
    97
    Yes but pretty soon, uGUI will ship as a Core Package with Unity. This means you'll be able to embed it in your project and override if needed.
     
    threeplus, recursive and zyzyx like this.