Unity Learn home
View Tutorial Content

Entities in action: Tanks

Tutorial
Intermediate
+10 XP
30 Mins
(91)
Overview
Summary
In this tutorial, you'll put your new knowledge of jobs and entities into action in a sample project that will demonstrate how to implement common features of games. Your objective is to spawn moving tanks that shoot cannonballs from a spinning turret. Tanks are destroyed when hit by a cannonball. The player controls the movement of one tank.
By the end of this tutorial, you'll be able to do the following:
  • Make an entity move randomly using code.
  • Spawn entities from a prefab using code.
  • Control the behavior of spawned entities using code.
  • Add a user input system to an entities project.
Select your Unity version
Last updated: October 28, 2024
6
6 Preview
6 Beta
2023.2
2023.1
2022.3
Language
English
Also included in
Entities in action: Tanks