Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Unity-AutomaticLayerConstants

Automatically generates a static class with all the layers as int constants with their index and mask.
Fast and customizable.
After setting your layers, click under Tools/Generate Layer Constants
The class won't be generated and compiled if there aren't any changes to the layers.
You can drag the file to any folder and change its location freely, the path will be tracked as long as the name is "Layers.cs".
You can change the file name or naming conventions through the Template strings in the file.

About

Automatically generates a static class with all the layers as constants and their masks.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages