The unity object lifecycle is critically important to understand. It’s so important that I have it in my browser bookmarks bar right next to my music streaming and rss feed. This image in particular will be your best friend:
- It’s important to note that game objects that start the scene in a disabled state, when enabled, OnEnable will fire before Start does, so it’s important to put initialization code that’s used in your OnEnable in the Awake Function. Generally initialization code in your Awake is a good practice.
- Triggers Will Execute before Collision
- FixedUpdate (Physics) -> Update -> CoRoutines -> Late Update