Help my Unity.Engine doesn´t work??

I don´t know what´s the problem especially but some Mehtods just don´t exist in my ScriptingEditor (VisualStudio)… for example “camera.ScreenPointToRay(…)” won´t be find in Unity.Engine I guess…
Can somebody help me, I have no idea what the problem coud be :confused:

If you are in Unity5, the “camera” shortcut has been done away with. You must use .GetComponent

You can get it yourself with:

 Camera cam = gameObject.GetComponent<Camera>();
 cam.dowhatyouwantwithitnow...();