Unity Start vs Awake

Start vs Awake

Start and Awake function work also identical, both are called near the beginning with Awake being called earlier. However there is one key difference between the two, on Start will not be called in the script component is disabled.

// Start is called before the first frame update
void Start()
{
// Use this for initialisation
}
void Awake()
{
// Awake is called even if the script is disabled.
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store