Best Practices - Async vs. Coroutines
Offered By: Unity via YouTube
Course Description
Overview
Explore the benefits of async over coroutines in Unity development through a conference talk from Unite Copenhagen. Learn how to implement asynchronous routines using both methods, focusing on a practical example of building an asynchronous prompt popup. Gain insights into best practices, common pitfalls, and the evolution of asynchronous programming in Unity since the introduction of async in 2017. Discover the pros and cons of each approach, understand the differences between sink and weight, and see how to effectively use MonoBehavior and extraction techniques. Follow along with code examples and learn how to apply these concepts to create efficient PromptPopup and Settings Popup implementations.
Syllabus
Intro
About me
Coroutines
Sink and Weight
Differences
Code example 1
Pros and cons
Common pitfalls
Mono behavior
Extraction
Prompt
Popup
Settings Popup
Taught by
Unity
Tags
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Software Testing
University of Utah via Udacity The Hardware/Software Interface
University of Washington via Coursera Software Debugging
Saarland University via Udacity Introduction to Systematic Program Design - Part 1
The University of British Columbia via Coursera