Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Automatic Layer Enums

An asset by award
The page banner background of a mountain and forest
Automatic Layer Enums hero image

Quick Information

0 ratings
Automatic Layer Enums icon image
award
Automatic Layer Enums

This plugin automatically generates enums for all types of layers including physics, render, navigation, and avoidance, based on the names you have entered in your Project Settings.

Supported Engine Version
4.2
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Thanks for using my Automatic Layer Enums! I hope it serves you well.

This plugin is configured to generate enums for all types of layers including physics, render, navigation, and avoidance.

To run the plugin and generate enums, go to Project/Tools/Layer Enums/ and click on one of the generation options. By default, new .gd files will be generated in res://generated/enum/

Custom configuration is not necessary but may be desired. To configure the output of the generator, please edit plugin_options.cfg

"name" is what will appear in the drop-down "script" is the absolute path the enum will be generated at "class_name" will be assigned to the script for global access "enum_name" is what the enum property will be named "project_setting" is the layers setting to pull layer name values from "max_count" is how many layers at most are available in project settings

After editing plugin_options.cfg, disable then re-enable Automatic Layer Enums from Project/Project Settings/Plugins to apply the changes.

This plugin automatically generates enums for all types of layers including physics, render, navigation, and avoidance, based on the names you have entered in your Project Settings.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Automatic Layer Enums icon image
award
Automatic Layer Enums

This plugin automatically generates enums for all types of layers including physics, render, navigation, and avoidance, based on the names you have entered in your Project Settings.

Supported Engine Version
4.2
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers