/Tags

Exploring usage of custom tags with ScriptableObjects in Unity

Primary LanguageC#GNU General Public License v3.0GPL-3.0

Tags

Replacement of built-in tags with asset-based solution.
It's easier for collaboration and fun to work with!

Multiple Tags

Create/GameObject/Tag
Add Component/GameObject/Tags

Multiple Tags
Tag name matters only to you now.


Tests:

  • FindWithTag is faster, as it's just a lookup for reference
    FindWithTagTest

tested in Update with 720 objects, 72B allocation comes from IEnumerable on FindAllWithTag