neon-age / Tags

Exploring usage of custom tags with ScriptableObjects in Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Exploring usage of custom tags with ScriptableObjects in Unity

License:GNU General Public License v3.0


Languages

Language:C# 100.0%