Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - smax

Pages: [1]
1
NGUI 3 Support / Re: UpdateColor is not a member of UIButton
« on: April 16, 2014, 07:43:35 AM »
Had that same probleme too: tried the SetState() on a UIButton.

It does not appear in the completion.  Seems protected :
Console error : UIButtonColor.SetState(UIButtonColor.State, bool)' is inaccessible due to its protection level
(on 3.5.5 and 3.5.7)

Any ideas/examples on syntax on a UIButton ? (not a UIButtonColor)

Thank you very much

2
NGUI 3 Support / Trying to have 2D gui behind AND on top of 3D cam
« on: March 07, 2014, 08:11:03 AM »
Hello there,

That might be a newbie question, but i tried the included Camera setup (see image):

The B Camera is the 3D Camera (Skybox clearflag)
The A and B Camera are gui layers masks and DepthOnly clearflag (inside the ngui 2D root)

I can't have the B Camera displaying inbetween A and C. (A takes over B whatever i do, and C correctly draw on top)
I want GUI behind (background) the 3D and GUI on top of the 3D(buttons and all)

Any idea on how to set that up ? what I am doing wrong ?
I am in latest NGUI version (3.50)

Thank you very much,

SMaX

Pages: [1]