Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

mathewcst/godot-export-categories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 😁

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

About

A very hacky way to separate script variables in categories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published