Learn C# scripting in Unity: http://catlikecoding.com/unity/tutorials/

API: http://docs.unity3d.com/Documentation/Components/index.html