Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: 3DMagicVR on July 15, 2014, 04:07:44 PM
-
Hello there, I have using ngui for quite lot time and this question emerge:
- NGUI can be used to place guis over a surface like EZ Gui makes it? -
This is, using this tool to place a control panel or a series of info windows or simply a button over a wall, may be this will sounds not to logical but I think that this could be important in some point over a working project that want to implement this tool on that.
I check all the demo files that comes with the package and no one shows that quality, if the developer it's trying to introduce this tool into unity to be the main gui manager I think he need to re-considerate this kind of option.
thanks for your time and have a nice day. 8)
-
Create a game object and attach UIPanel script to it. You can now add widgets below it like any other UI -- but note that they will be huge in size. You will likely want to scale the UIPanel first -- try (0.01, 0.01, 0.01).
-
It's just a matter of matching a panel / widgets to fit with the surface you want to display it on. If you want it to rotate with it, like say a TV screen that gets moved around, the easiest way is to have the panel in the subhierarchy of the rotating object. Just be careful of scaling, since the transform sizes won't be pixels anymore.
-
It's just a matter of matching a panel / widgets to fit with the surface you want to display it on. If you want it to rotate with it, like say a TV screen that gets moved around, the easiest way is to have the panel in the subhierarchy of the rotating object. Just be careful of scaling, since the transform sizes won't be pixels anymore.
Bad answer, the UI component automatically moves to the main or existent UI Hierarchy, NGUI does not have the quality to make that without having an UI hierarchy settled.
Easy GUI Makes it without to much complication, to bad for NGUI 0.0p -1.