I have complex mazes in my game and I want to guide player which direction to look, like in FPS games that you know that you have to go like North East because of an indicator like a rectangle or triangle that is on the screen. Please note the following picture and the several “targat”'s on it. All of them are behind other objects but we can see where they are in screen space:
So basically I have to do something like translating world to camera coordination, then put my indicator on that place but since I think it’s more complicated than that, I thought to ask you guys.
Not sure about the maze since your directions will depend on a pathway, but if you have a world position for the target, then you can do a Camera.WorldToScreenPoint() then convert the screen point to a GUI point to place a GUI.DrawTexture. Or you can do a Camera.WorldToViewportPoint() to place a GUITexture. Or you could combine one of the above with a Raycast from to the target and place the target graphic in world space in front of the first object the cast hits.