First Person Torch Light

Hi all,
I’m a complete beginner to unity and am trying to make a simple maze game and came across the idea of it being dark and that the player has to use a torch to see. I have looked into this on the forums and found something about attaching a spotlight to the player but this doesn’t really work as the light stays on the same x axis and i would like it if you could point the light with your mouse. If anyone has any suggestions they would be greatly appreciated

Import the character controller package in asset->Import package, then take the MouseLook script (you don’t really need the others) and drag it onto your light.

thank you! worked a charm