MonoBehaviour Lifecycle Basics - Awake OnEnable Start Update FixedUpdate | Unity C# Basics Part 3




Published: 22 Mar 2022

Learn about the order of execution of events in Unity, or as I like to call it, the Component Lifecycle. This is critical to understand so you know with certainty when your Awake, Start, and Updates are being called! We'll even take a look at some examples of how you can get into trouble if you don't understand when they are called. To showcase these "lifecycle events" we'll also learn about how to create objects in the scene at runtime, and remove them!


If you've been using Unity for a while, or are just getting started with Unity and decided it's time for you to start learning how to write code - this is the video series you need to start your programming journey!


🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂

👨‍💻 Get the FULL FREE PROJECT on GitHub: https://github.com/llamacademy/unity-csharp-basics-3

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Here are the resources I mentioned and/or brought up during the video 📚

🟠 Order of Execution: https://docs.unity3d.com/Manual/ExecutionOrder.html

🟠 GetComponent: https://docs.unity3d.com/ScriptReference/Component.GetComponent.html

🟠 Instantiate: https://docs.unity3d.com/ScriptReference/Object.Instantiate.html

🟠 Destroy: https://docs.unity3d.com/ScriptReference/Object.Destroy.html

🟠 Vector3s: https://docs.unity3d.com/ScriptReference/Vector3.html

🟠 Quaternions: https://docs.unity3d.com/ScriptReference/Quaternion.html

🟠 Screen: https://docs.unity3d.com/ScriptReference/Screen.html

🟠 Time: https://docs.unity3d.com/ScriptReference/Time.html


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.