Welcome,
Guest
. Please
login
or
register
.
April 20, 2026, 11:11:23 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to handle multiple in-game 3D UIs
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to handle multiple in-game 3D UIs (Read 2918 times)
gg67
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 66
How to handle multiple in-game 3D UIs
«
on:
July 18, 2014, 06:16:53 AM »
Hey there,
I plan on having some for of NGUI UI above each player's avatar. However, I'm not sure the best way to go about this as it seems that every NGUI widget must be a child of the UIRoot object. Should I be using multiple UIRoots (I've read multiple places you don't recommend this)? Should I just update the UI positions manually while they are all a child a UIRoot?
Whats the best way to do something like this?
Thanks
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to handle multiple in-game 3D UIs
«
Reply #1 on:
July 18, 2014, 07:00:10 AM »
I've answered this yesterday, and a day before.
UIRoot is optional. All you need is a UIPanel.
1. New game object.
2. Attach UIPanel, scale it so it's not huge (0.01, 0.01, 0.01)
3. Widgets go under it.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to handle multiple in-game 3D UIs