This is a example game done completly in the new Unity Entity Component System. It was done to show what performance gains are possible with the new Unity Entity Component System.
This code implements systems for pathfinding, enemy finite state machine, collisions (with new Unity Physics), input, inventory, weapon animation (by using slerp and lerp).
I removed all assets except for the scripts that were used in this project, since the meshes ive originaly used in this project might be protected by copyright. The weapon, shield and item meshes were done by me.
This was originaly a school project.
2021-03-30.10-50-51-00.01.04.284-00.01.14.532.mp4
2021-03-30.10-32-56-00.00.08.750-00.00.09.836.mp4
2021-03-30.10-32-56-00.00.29.200-00.00.32.457.mp4
The project was tested with 10'000 pathfinding agents, simultanously searching for a path. On my Ryzen 3950x it still performed with an average of 3.2 ms (update rate).