what is the order of execution of functions at object creation?

what is the order of execution at object creation?


Awake then OnEnable for each object individually, instead of all Awakes, followed by all OnEnables

first Awake will execute then OnEnable and then Start. i am not sure if all other OnEnabls execute after your your awake but your own OnEnable will execute after your Awake and it's safe to use Awake for initializations of those variables that you use in OnEnable.