need all this to continue to learn and use

Hi, I’m Charles

I have some questions … I’m doing pretty well with the 3D and imports …
It works well on my side.

But I need all the codes to make my first demo:
I would use javascript. And I wish I had the road to be capable,
need to have with simple, the following codes :

1-How to attach an object to another object
2-how to make a lookat an object in the direction of another object?
3-Use collision detection to execute a sound or a function
4-Use a timer to a random variable with easy.
5-Add an object during the game: “a bullet” for example, and places it in the right place.
6-Use a key on the keyboard to play “sound” for example.

7-What are the basic functions, “update”, “start”, there are others?
I need to understand the basic concept of unity about official fonctions that i can use, please

I need all this to continue to learn and use.
Thank you

  1. Unity - Scripting API: Transform.parent
  2. Unity - Scripting API: Transform.LookAt
  3. Everything about physics/collision detection: http://unity3d.com/support/documentation/Manual/Physics.html
    and a way to track when items collide so you can execute a function/sound: Unity - Scripting API: Collider.OnCollisionEnter(Collision)
  4. Probably find what you’re looking for here: http://answers.unity3d.com/questions/15207/need-timer-script
    Random: Unity - Scripting API: Random.Range
  5. Unity - Scripting API: Object.Instantiate
  6. Unity - Scripting API: Input.GetKey
  7. http://answers.unity3d.com/questions/2710/what-is-the-general-use-of-awake-start-update-fixedupdate-lateupdate