1
NGUI 3 Support / Re: using scenery to obfuscate ui events?
« on: June 26, 2013, 02:39:22 AM »
Thanks again for the swift support. I was thinking about putting a linecast in the OnHover event so that when the robot is hovered over, the script will do a linecast from the robot to the player to see if it hits anything that is not the player. if it hits the player then the robot is in line of sight and updates the display, otherwise it does nothing. My hope was I could save adding a bunch of extra colliders to my scene with a couple of lines of code. After playing with it for the day I think your original suggestion is by far the better one in terms of reliability, so I'm going with that. Consider my query solved
