Enum Tags - Autocomplete Tags
Tzar
$0.0
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
04/05(2023) |
0.0 |
11/09(2024) |
0.0 |
Jump AssetStore
Enum Tags is a simple script that mirrors Unity's tags to a static class that is automatically generated
and all the tags are added as properties for easier access in code.
How to use:
1. Import the package
2. To use just type "Tags." and all your tags will be shown in autocomplete
Example: CompareTag(Tags.YourTagName)
How is it useful?
1. No need to remember tag names anymore, Intellisense will let you know
2. No change to Unity's tag system or the use of it
3. Saves more time and is more reliable than typing string tags
Quirks:
1. Special characters like @*& etc. will be shown as SC in the tag autocomplete
because the tags are stored as properties and special characters are not allowed. However this doesn't affect
tag comparison.
2. Make sure you have write permissions for the Enum Tags folder or the script wouldn't be able to update the tags.
My other assets
Supports any Unity version.
Report any issues, improvements or feature requests to contact@fuzion.gg