I just need a script (preferably java) that will lerp a camera from the postions X: -4177.642 Y: -3220.734 Z: 6346.121 to the position X: 5720.9 Y: -3220.734 Z: 5188.323 and back again when the input 'SwitchShoulder" (That's the name of the input) is pressed. Could someone help?
http://docs.unity3d.com/ScriptReference/Vector3.Slerp.html this has all the information you need. Also Java != JaveScript they are differnt and unrelated programming languages