View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1
- Last updated
- First released
- Unity version
- 2020.3.21 or later
- Package size
- 20 KB
- Files
- 6
- Favorites
- 21
- Views in the past week
- 7
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Enum Tags - Autocomplete Tags
Price Free
Get it free on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Enum Tags - Autocomplete Tags screenshot 1
About this asset
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 [email protected]
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 [email protected]
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2020.3.21f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.