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.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|