2D camera prespective

hey i want to make a 2D game, but I can't seem to find the right code to make the camera 2D. Can any of you possibly give me a code that will make the camera go 2D...


No code required. Set the camera to orthographic and point it facing Z.