Need help making parts of an image clickable.
I have a map of the world ( as a .png file) that I would like to make certain parts of the map clickable. I don't know if this can be done through the GUI or if has to be done through coding. This is for a College project that my class is working on and we were told to find out how to do things by using the forums and tutorials so any help would be greatly appreciated. Thanks for any and all help.
they really meant to just ask how to solve the problem?...
1.you could subdivide the png and assemble the parts as separate gameobjects, some as buttons some just like that. would make the few clickable.
you could make one UI clickable image and define local ranges you check the mouse local coordinate against
Answer by Romaric7 · Jun 07, 2016 at 08:53 PM
Hi A little bit late, but if someone get here one solution can be to put a button over the part we want to make clickable and then set the button elemnt alpha to 0..