Flocking with GameObjects and Unity's C# Job System

Uploaded by Thousand Ant
Share: Twitter Facebook
In this Unity tutorial Porrith Suong from Thousand Ant shows how you can use the C# Job System, part of Unity's Data Oriented Tech Stack or DOTS, to create a multithreaded implementation of the classic Boids flocking system using GameObjects instead of ECS entities.

Many who approach DOTS think of it as an all or nothing approach, but as we see here, parts of it, like the Job System can be applied to traditional Unity development problems without using the full tech stack and things like the entity component system. Multithreading and parallel processing are just two benefits that can be achieved with Unity's Job System but there are many other performance gains that are possible.

Check out the code for Unity Boids free on Github here: https://github.com/ThousandAnt/ta-boids
---

Learn Unity and game development with experienced indie game developers. Subscribe for tutorials, devlogs, and gamedev advice uploaded weekly.

Visit us on Discord, ask questions and share your work: https://discord.gg/AGHZvCf

Follow us on Twitter: https://twitter.com/thousandant

Visit our website: http://thousandant.com