Hide a light for a camera

Hi everyone!

I wanted to know if it is possible to hide a light for a camera?

I tried to use layers:
I assign a layer for my light, and in my camera inspector, I cull the mask linked to my light, but I can still see my light through my camera.
The idea is to see the world though camera 1 with the light, but through camera 2 without this light.

So I wonder if I misused the layers, or if there is another method.

Thanks in advance!

I am not sure if Wolfram’s answer was working by itself in previous versions of Unity, but 4.6 seems to require a slightly different setup. For anyone that stumbles across this like I did, this is what was needed in the script attached to the camera that does NOT see the light. It did not work until OnPreCull was added, but OnPreRender has been left as a precaution.

function OnPreCull () {
	if (limelight != null)
		limelight.enabled = false;
}

function OnPreRender() {
	if (limelight != null)
		limelight.enabled = false;
}

function OnPostRender() {
	if (limelight != null)
		limelight.enabled = true;
}

Hm, you should be able to do this with OnPreRender and OnPostRender. Attach a script with these functions to Camera2, and in OnPreRender disable the light, and in OnPostRender re-enable it.