- Home /
Question by
migueljaner · Jul 26, 2011 at 09:24 AM ·
parentchildrenstartawake
hierarchy start order
How can I ensure a children will be awaken or started after their parents?
Comment
Answer by PaulUsul · Jul 27, 2011 at 01:45 PM
You can't rely on Unity for this. but you can make your own functionality to ensure call order. Especially easy if it's always the parent that has to init it's children. Use the Awake/Start in the parent and use a Init in the children that is called by the parent.
[Edit]Reading what's new in 3.4 it says you can, here Edit->Project Settings->Script Execution Order.
Seven years and noone upvoted this. Such a shame. Fixed now. Thanks for your valuable answer!