I am creating a script which handles all the game logic of the game, and attaching it to a gameobject. This got me wondering - is there any order to which the Update() of gameobjects are run? Their position in the hierarchy or is it totally non-deterministic?
And this is why there is Update and LateUpdate. If you need things to happen in an order dependent way then you can be assured that all Update functions will be called before any LateUpdate functions are.