
TagTree is an hierarchical Tag System for Unity. Give as many tags as you like to any object (not only GameObjects!) and easily compare Tags at any level of the tree!Tags in TagTree are defined in a tree-like structure, and you can check if an object has a tag on any level of the tree, meaning that if a character has a tag "State.Stunned.Electric" and you want to check if the character is stunned, you can simply check for "State.Stunned" instead.Basically anything can have tags, you just need to create an object of type TagContainer, but there's already a built-in extension specifically for GameObjects, so you can just use that straight away!Tree-like Tag structure: Tags uses the standard parent.child.grandchild, and you can have as many levels and as many children Tags as you want!Tag Stacking: Applying the same Tag multiple times to the same object increases its stack counter, and you can can use this value in your game however you like!Tag Queries: Want to know if an object has a specific combination of Tags? TagQueries are a flexible and powerful solution!Built-In GameObject extension: While anything can have Tags, the package includes some helper methods to add and search for GameObjects with specific tags!Performant: Tags are only created once and comparisions are basically integer comparisions! TagContainers are nothing more than a dictionary, so lookups are as fast as it can be!Included Tag Editor and Inspector field: Use an easy to use Editor window to create your Tags, and easily select created Tags from the inspector using a searchable dropdown!Multiple Tag Files: Having a tree-like structure is not enough for you to organize your Tags? Don't worry, you can separate them into multiple files!