- Home /
Duplicate Question
Difference between Awake() and Start() ???
So. I'm working with unity around 2y, and can't understand the difference between Awake() func. and Start() func. :) Can someone explain it to me ? Why should i use awake and not start? or why should i use start and not awake ? Someone please reply!
Answer by meat5000 · Feb 23, 2015 at 08:58 PM
http://unity3d.com/learn/tutorials/modules/beginner/scripting/awake-and-start
http://answers.unity3d.com/questions/10189/what-is-the-general-use-of-awake-start-update-fixe.html
Answer by tanoshimi · Feb 23, 2015 at 08:59 PM
Please read http://docs.unity3d.com/Manual/ExecutionOrder.html
The most important point to note is that "Awake and OnEnable functions for all scripts will be called before Start, Update, etc are called for any of them"
Follow this Question
Related Questions
Cached references set in awake aren't persisting 0 Answers
when loading a scene, the execution order is load->constructor->finishfunction->awake->start? 1 Answer
How I can run start function before showing scene? 1 Answer
Should OnEnabled() be changed to be called after Start()? 1 Answer
ExecuteInEditMode Component construct "twice" and "reset" custom classes 0 Answers