Objects with an Update order

I know there’s a fair few people who set up a system for objects to be updated in a certain order, instead of Unity’s mystical gameObject execution order.

How have you guys done it?

Thanks!

Add objects to a list in some manager. Sort list by the update order you want. During the manager’s Update, iterate through list calling custom update method.

1 Like

So basically you ignore their actual update method and just make one yourself? Lol so simple why did I not think this

Indeed. This is also an easy example of when an interface is a good choice.

1 Like