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 - rbreve

Pages: [1]
1
NGUI 3 Support / Re: Buttons not working
« on: March 15, 2014, 10:17:33 PM »
NOTE: For UICamera to work, "Raycasts Hit Triggers" must be checked in the Physics settings.

that was my problem, thank you.

2
NGUI 3 Support / Re: Clickable UITexture
« on: March 15, 2014, 10:16:17 PM »
I fixed it, I had to enable Raycast Hit Triggers  on the Camera .

3
NGUI 3 Support / Buttons not working
« on: March 15, 2014, 03:21:37 PM »
Hi, does this support forums work?

I am trying to integrate NGUI on my existing project, I already have a camera, does that affect?

I tried to add the simple button prefab and it won't interact.

4
NGUI 3 Support / Clickable UITexture
« on: March 14, 2014, 09:09:51 PM »
Hi, I have been struggling to add just a simple clickable uitexture, I don't want to add a button widget, just a texture that is clickable, I added the void OnClick() but it doesn't work, I can't find a simple example on how to do it, can anyone help me? thank you.

This is what I do, I create a UITexture, then attach a collider, then attach a button script, drag the game object with the onClick public void function to the notify field, but it still doesn;t work, what am I missing?

Update:

Ok so I made a new scene and did the same and it works, I wonder why it wouldn't work on my existing project.

Pages: [1]