Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
A very hacky way to separate script variables into categories.Copy the "export_categories" folder into your "addons" folder and enable it on Project > Project Settings > Plugins > ExportCategories.Just export a var with `_c_` as a prefix (ex: `_c_movement`) and it will be transformed into a "category".It's just a separation, really. But it helps :)
Godot Export Categories
A very hacky way to separate script variables in categories.
This is not optimized at all, it's just something I put together to help me
separate my Script Variables
into "sections".
If it helps you too, awseom! :grin:
Feel free to edit, contribute, share, do whatever you want with this.
It's for everyone and it is free!
Instalation
Just copy the export_categories
folder into your project's addons
folder.
Or copy the whole addons
folder and paste it into your project's root folder.
Then just enable it on
Project > Project Settings > Plugins > ExportCategories
.
Usage
Export a var (of any type, if you want) with the _c_
prefix. That's it.
Examples:
export var _c_Movement
export var move_speed = 10
// or
export var _c_Mouse_Sensitivity: string
export var mouse_sensitivity_x: float = 0.03
export var mouse_sensitivity_y: float = 0.03
All variables prefixed with _c_
will be turned into a red label.
Enjoy
Changelog
1.1
- Cleaner category name
- Updated images
1.0
- Basic addon
A very hacky way to separate script variables into categories.
Copy the "export_categories" folder into your "addons" folder and enable it on Project > Project Settings > Plugins > ExportCategories.
Just export a var with `_c_` as a prefix (ex: `_c_movement`) and it will be transformed into a "category".
It's just a separation, really. But it helps :)
Reviews
Quick Information
A very hacky way to separate script variables into categories.Copy the "export_categories" folder into your "addons" folder and enable it on Project > Project Settings > Plugins > ExportCategories.Just export a var with `_c_` as a prefix (ex: `_c_movement`) and it will be transformed into a "category".It's just a separation, really. But it helps :)