Hi i was looking Puzzle Agent 2, and has something that i really like for reveal objects. If you click anywhere on the screen an small radar detect the objects near you click. So that how you know if there something near and prevent the pixel hunting.
Is there any way to do something like that?
thanks
Puzzle Agent 2 Video
https://www.youtube.com/watch?v=w_cOwNiV4P4
Comments
For something more unique, e.g. flashing all Hotspots outwardly from a given point on-screen, a custom script can be written that invokes the Flash() function in the Hotpot's Highlight component:
myHotspot.highlight.Flash ();
Thanks!
I know it´s something more for the unitys official forums but any other suggestion or help before posting something in the forum and wait alot of time
thanks again
I have to change the normal function of the mouse?
Any help i stuck with this.
Thanks
http://answers.unity3d.com/questions/532746/finding-gameobjects-within-a-radius.html?_ga=1.216846292.356496927.1484833232
https://docs.unity3d.com/ScriptReference/Physics.OverlapSphere.html
http://paste.ofcode.org/Ymiw8nBDaaPpuPESAwTpZY
Paste in a file named "Radar.cs", attach to a cube without a collider in your scene (so you can test its position) and assign the fields in the Inspector. Define an input named "CustomFlashHotspots" - when pressed, the CheckForHotspots function will run.
Please be mindful that this is not a forum for general coding advice. Help regarding the use of AC's variables and function can be given, but please try to ask on the general Unity forums in future about general scripting.
Again thank you!