Tags are systems that allow us, as developers, to categorize objects in a scene. When situations arise where we need a reference to objects of a particular tag, we can use commands such as the following:
GameObject.FindObjectsWithTag("SomeTag");
This makes it really easy to locate objects of certain types.
If you look directly under the name of the object in the Inspector, you will see the dropdown for Tag.
We have two Tags currently in our project, and we need to add three more. It is worth noting that while the order is more important for Layers than Tags, in my experience, it can matter at times.
Layers allow for easy filtering. With Layers, if you need the camera to ignore certain objects or need your lights to only ...