Skip to content

A godot plugin to easily add categories to the property inspector panel

Notifications You must be signed in to change notification settings

Quantum-Cucumber/godot_easy_category

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Godot Easy Category

A godot plugin to easily add categories to the property inspector panel. This project is inspired by https://github.com/mathewcst/godot-export-categories, but with some added customisation for my own needs.

Benefits:

  • Easily customisable look via a control scene
  • Uses the colours for the editor's theme to more closely match the normal category separator
  • Add icons next to the category label
  • Automatic case conversion

Installation

  1. Copy the easy_category folder into your project addons folder
  2. Enable the plugin via Project > Project Settings... > Plugins > Tick the "Enable" box for EasyCategory

Usage

Export a variable of any type, prefixed with _category_, e.g.

export var _category_test_category: String
export var test

The prefix can be changed in addons/easy_category/plugin.gd

An icon can be configured to show beside the category label. This can be a resource path (starting with "res://"), or an icon name. Icon names can be any of the file names as found in https://github.com/godotengine/godot/tree/master/editor/icons (case sensitive, excluding the file extension.)

export var _category_test := "res://icon.png"

# or

export var _category_test := "2D"

About

A godot plugin to easily add categories to the property inspector panel

Topics

Resources

Stars

Watchers

Forks