Search Unity

Cosmetic. Sorting or reordering tags.

Discussion in 'Editor & General Support' started by cdevl, May 2, 2013.

  1. cdevl

    cdevl

    Joined:
    Apr 10, 2013
    Posts:
    180
    Does anyone know of the way to reorder tags? It is pure cosmetic but sometimes it bugs me that I have a LARGE number of tags and no way to sort them, let's say, alphabetically or reorder them the way I want.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,145
    You can delete individual entries in the array, so you can use that to sort tags...not ideal, but better than nothing. (e.g., if you had tags in the order "C", "A", and "B", then you would delete "C" and add it to the end.)

    --Eric
     
  3. cdevl

    cdevl

    Joined:
    Apr 10, 2013
    Posts:
    180
    I guess, next game I will have to be careful with this from the start. Currently sorting 30+ tags with the above method doesn't really appeal. :)
     
  4. Joeri_Dijkstra

    Joeri_Dijkstra

    Joined:
    Oct 6, 2015
    Posts:
    1
    There should be an option to do this, I know I am 5 years late but oh well.
     
  5. Hoorza

    Hoorza

    Joined:
    May 8, 2016
    Posts:
    20
    True that !
     
    Chuckler likes this.
  6. Bredjo

    Bredjo

    Joined:
    Jul 25, 2017
    Posts:
    17
    In your <YourUnityProjectFolder>/ProjectSettings/TagManager.asset you can make the changes more comfortable with this TagManager.asset file for Tags, Layers and SortingLayers.

    Note:

    • close unity while making this changes
    • make a back up of this file before OR have your project under version control (git, etc.)
    • check all your gameobject and prefabs in your project after your done with the changes (layer based collision matrix, etc. )