Export Categories screenshot 1
M

Publisher

mathewcst

Export Categories

Tools
Export Variables Categories Organization Scripting Development Customization Separation

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 :)

cover

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

screenshot

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