Hey Unitarians,
So what I have is my player which is in the center of my camera view. There are enemies around the scene. I want it so that the camera can display arrows on the screen to show the general direction where those enemies are.
I can instantiate and assign textures for every enemy in the scene, but the things I can't do are:
- Hiding the guitexture when the enemy comes into view of the camera
- Making the arrow texture point continuously at the enemy.
An image is shown to give an example. If you look near the bottom of the screen it shows a red arrow that is pointing to an enemy off-screen.
![alt text][1]
Any script would be preferred in C# but I can read Unityscript as well!
You guys are the best
[1]: /storage/temp/30547-screenshot-2012-10-24-16-55-03.png
↧