entry point of the application

i started using unity 6 months ago, and all i can say it is a great tool for making interactive and realtime applications. i now have some experience and i dont ask too much any more in the forums, i just need a little more to understand the big picture as far as programming is concerned.

so far i programed many tools, scripts and components and i am wondering how you organized all of the stuff you make. what is the entry point of the application?

i dont think that i have entry point specifically in my project, i have update loop in the script that is attached to the camera where rendering begins but i would like to know how others do it.

do you have a GO where you instantiate everything else or some other method. i would like to keep things organized and tidy and i am looking for somebody more experienced to explain what are the most efficient methods...

thanks!

The Awake() and Start() functions are called when a project loads and are usually used for all setup jobs.

Awake() is usually used to set up any dependancies / connections between scripts and objects. It is called on each script before any other code is run. http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.Awake.html

Start() is called after Awake() is finished, and that's where you would usually call things like intro screens or any other setup tasks. http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.Start.html