How to use a projector

How would I use a projector to, for instance, do a laser sight? Is that even possible? I tried messing around with it, but I couldn't find the right combination of settings. Could anybody list the correct ones? I looked in the docs, but couldn't find anything that shed any light on my situation. Are there settings on the material I'm projecting that need to be set? Thanks for any help.

EDIT: I got that part to work. However, my projector projects through multiple objects, through a wall and onto a bad guy. Is there a way to stop this as well?

Instead of using a projector for that particular application, try using Physics.Raycast and a model / texture of your laser sight.

You'd have a script that continually raycasts to where the player is aiming and updating the position of your laser sight model.

This tutorial has helped me a lot with weapons DastardlyBanana. This tutorial also has a gun shooting lazer which you could use as a aim laser as well, with little modification.