[Official]New UI System.... coming in Unity 4.6

1643664--102090--$guipic.PNG
So today we have started talking about the New UI System that will be coming in Unity 4.6. You can find the blog post here and the video here which covers a walk through of how the system works.


The New UI System is designed from the ground up to meet the following needs:

  • Fast execution
  • Low draw call
  • Easy to use
  • Easy to extend
  • Flexible API
  • Runtime allocation free

Over the coming weeks we will be releasing more videos and information about the new UI system where we will be revealing extra technical details, and information about how it works internally.

Right now though lets have a talk about the walk through video and the things you have seen there, more discussion about the other areas of the UI system will coming soon :) If you are a beta user feel free to talk about your high level impressions of the system and how it's been shaping up on the beta list over the past few months (normal feedback to the beta list). We would love to see what you are working on :)

Update:
Will and I did a video about the new world space canvas!

https://www.youtube.com/watch?v=Mzt1rEEdeOI

3 Likes

WOW See New GUI as soon as possible Time is gold. The wait is so painful

Has IsTheNewGuiOutYet.com been updated in light of this?

1 Like

Looks really great.
How does the GUI-Input work with for mobile devices? Is "OnClick" registering also Finger-Touches?
Is it possible to add Notifications to the Button-List via Scripts in order to fire custom OnClick-Events for specific logic?


Will be talking about the EventSystem more in a few weeks, but we use a unified event architecture for events, so when you touch and release it will get a PointerEnter, PointerDown, PointerUp, PointerClick, and PointerExit.

[quote]
Is it possible to add Notifications to the Button-List via Scripts in order to fire custom OnClick-Events for specific logic?
[/quote]
Yes. More on this a bit later also... But the UnityEvents can be hooked up via UI or via script.

Just watched some parts of the video. And while I haven't been into actually creating/working on UI animation yet, these new elements seem to offer and awesome way of creating and modifying things.
Just thanks for your hard work in coming up with this system. Supersupersupersweet. This is really awesome !

Emphasizing since usually the positive comments tend to go under in the forum culture :)

We tried both methods, in the end we really felt like hierarchy ordering was easier to understand and works really well for a UI. It's one of those things you don't think will feel right, but then you try it and it feels really nice. That being said after you use it you may not feel the same way I do about it.

As a Unity noob that's in the middle of doing GUI related stuff for my first project, I'm both excited and scared at the same time :) Excited, because these new features look great, almost Flash-esque in the way you can animate interactivity for things like buttons. Using world light and materials opens up a whole new avenue too.

But on the other hand, I'm going to have to re do a big chunk of my game to use this system. From the looks of it, it will be worth it and I'll have a better looking and working GUI for putting some effort in.

Nice work, looks good so far :smile:

Looks identical to NGUI. Good. I'm using NGUI for almost 2 years so I would't have to learn new things.

How do you manage the UI z-order when the hiearchy has a custom sorter (such as alphanumeric) ?

I think UT needs a slogan and it should be "soon.." or "we're working on it" :smile:
Unity Technologies - Soon..

But glad to see that waiting for the new gui will be worth it. Hope it won't be too much longer.

At least it shouldn’t be hard to slap a one function script on it to manage that logic.

It is how photoshop works so I can’t see too many people complain that they don’t get it, although from a scripting perspective having to manage order is going to suck. I can already hear all the complaining about nested prefabs coming.

I'd love a lot more information on UnityEvents, hopefully you guys have a video or preferably a blog post on that in the works.

Watching the video now.
Will it allow me to use events instead of polling every frame?
I mean Events, not sendmessage

All event-based systems have something polling somewhere, but yes - you can set up a button to call a particular function on one of your objects, and then sit back and wait for it to happen.


It shares similar design ideas to NGUI but it's moved a long way from that. It will have it's own ways of doing things.

[quote]
How do you manage the UI z-order when the hiearchy has a custom sorter (such as alphanumeric) ?
[/quote]
It always uses the transform sort order. If you enable alpha numeric you are just changing how the hierarchy displays things, not the underlying order.

I see Scrollbar in UI menu but not Scrollview also nothing about scroll in video - is it planned?

What about creating ui elemnts at runtime? I guess will break Runtime allocation free part, but is possible to do? If yes how we would deal the sorting order?


Yep

https://www.youtube.com/watch?v=ZdqCNe3wpqc


Well you would allocate some memory, but just when they get created, not other times. With regard to sorting order there is API on transform for that.