Last active
September 26, 2024 09:02
-
-
Save Namek/ecafa24a6ae3d730baf1 to your computer and use it in GitHub Desktop.
Tags and Layers Enums Builder for Unity3D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This class is auto-generated, do not modify (use Tools/TagsLayersEnumBuilder) | |
public abstract class Layers { | |
public const string Default = "Default"; | |
public const string TransparentFX = "TransparentFX"; | |
public const string IgnoreRaycast = "Ignore Raycast"; | |
public const string Water = "Water"; | |
public const string UI = "UI"; | |
public const string Camera = "Camera"; | |
public const string Characters = "Characters"; | |
public const string Floor = "Floor"; | |
public const string Sprites = "Sprites"; | |
public const string Terrain = "Terrain"; | |
public const string Squads = "Squads"; | |
public const string Selectable = "Selectable"; | |
public const string Obstacles = "Obstacles"; | |
public const int DefaultMask = 1; | |
public const int TransparentFXMask = 1 << 1; | |
public const int IgnoreRaycastMask = 1 << 2; | |
public const int WaterMask = 1 << 4; | |
public const int UIMask = 1 << 5; | |
public const int CameraMask = 1 << 8; | |
public const int CharactersMask = 1 << 9; | |
public const int FloorMask = 1 << 10; | |
public const int SpritesMask = 1 << 11; | |
public const int TerrainMask = 1 << 12; | |
public const int SquadsMask = 1 << 13; | |
public const int SelectableMask = 1 << 14; | |
public const int ObstaclesMask = 1 << 15; | |
public const int DefaultNumber = 0; | |
public const int TransparentFXNumber = 1; | |
public const int IgnoreRaycastNumber = 2; | |
public const int WaterNumber = 4; | |
public const int UINumber = 5; | |
public const int CameraNumber = 8; | |
public const int CharactersNumber = 9; | |
public const int FloorNumber = 10; | |
public const int SpritesNumber = 11; | |
public const int TerrainNumber = 12; | |
public const int SquadsNumber = 13; | |
public const int SelectableNumber = 14; | |
public const int ObstaclesNumber = 15; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use this instead and just manually update it.