Welcome,
Guest
. Please
login
or
register
.
April 25, 2026, 10:19:15 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
SU & NGUI?
« previous
next »
Print
Pages: [
1
]
Author
Topic: SU & NGUI? (Read 4464 times)
dharry
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
SU & NGUI?
«
on:
August 31, 2014, 07:43:56 AM »
Hi All,
I'm pretty new to all things Unity & SpaceUnity so please bare with the noob
Does anyone have a how-to when it comes to getting SU and NGUI to work together? I just can't seem to get the camera's right
Any help would be greatly appreciated
Cheers
Dean
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: SU & NGUI?
«
Reply #1 on:
August 31, 2014, 03:21:44 PM »
Same as anything else. Make sure they all use different layers.
Logged
dharry
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Re: SU & NGUI?
«
Reply #2 on:
September 01, 2014, 08:49:06 PM »
Thanks Aren,
I know I just dont understand the hierarchy of where things should be placed but I am trying to learn
SpaceUnity has it's own camera system and my scene has it's own camera as well. So when I add in a NGUI element it adds UI Root and another camera under that. I just can't seem to work out what camera should be where and if I need both my main camera and the NGUI camera as well. I have tried various different camera placements but just can't seem to get it right.
Can you point me to a simple how-to perhaps on the order of things?
Regards,
Dean
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: SU & NGUI?
«
Reply #3 on:
September 02, 2014, 11:44:45 AM »
This has nothing to do with hierarchy or positions. As I said, check the layers.
Only one camera should be drawing the UI. This means only your UI Camera should be drawing the UI. So check the culling mask for other cameras and make sure they don't draw the UI layer. It's that simple.
Logged
dharry
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Re: SU & NGUI?
«
Reply #4 on:
September 02, 2014, 07:21:41 PM »
Aren,
Thanks You! You were right, I was thinking about it way too much, making sure the layers were right has done the trick.
Cheers
Dean
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
SU & NGUI?