Unity provides different options for work that you don’t want to run inline on the main thread. The job system schedules small units of work across worker threads to use all available CPU cores. The Awaitable class integrates C# async and await with Unity’s frame loop, letting a method suspend and resume without blocking the main thread.
| Topic | Description |
|---|---|
| Write multithreaded code with the job system | Use Unity’s job system to get the most out of multi-core CPUs and parallelize your algorithms. |
| Asynchronous programming with the Awaitable class | Asynchronous programming in Unity with the .NET async and await keywords and Unity’s own custom Awaitable class. |