NGUI performs its own raycasts underneath mouse and touch events, provided the camera that sees the object you're interacting with has a UICamera script attached. NGUI won't perform raycasts into the screen that's not under the mouse or touch event. You can create a custom input method for NGUI that would do that, however (set UICamera.onCustomInput).Thank you. Is this how I get game data information to show on the UI for the HUD? I will search for it as well. I have not had time to dive into NGUI as I have been watching the tutorials. Just thought I would ask here in case I can not find it.
How to get the text come up on the screen? Enable the game object that has the UI element you want. Not sure I understand the question. Do you want it to be in the world space, part of your 3D world? If so, create a game object, attach UIPanel to it, and add widgets underneath it. You'll want to scale the panel object so that it's small first though (0.01, 0.01, 0.01 for example). You don't need the UIRoot for in-game UIs.I was meaning a HUD. So if you look at a specific rock it says "Use bla to do bla" on the players view.