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 plugin for Godot 4 to extend the Inspector using just comments above properties. Nodes, Resources, and even non-tool scripts supported!Supports these, and more (check README.md for full list):# @@message(message_getter) - call message_getter() to get a message. If empty string, hides the message. Has a message_warning and message_error variants.# @@button_group(params) - assembles buttons. List comma-separated params, which can be strings "", colors #, or expressions. Each Expression must have a string Label preceding it, color optional.# @@dict_table(params) and # @@resource_table(properties) - displays array of Resources or Dictionaries as a table. for dicts, params must be of format `key : type`.# @@multi_array_table(property_names) - shows several typed array properties as a table, one array one column.# @@show_if(expression) - hides property if expression is false.For more, check out README.md.More extensions coming soon!
Inspector Extender
A plugin for Godot 4 to extend the Inspector using just comments above properties. Nodes, Resources, and even non-tool scripts supported!
It allows the user to do this:
...with just this.
Comments must be placed any number of lines before the property they must be applied to (place anything in between, just not other properties)
Supported commentributes:
@@message(message_func), @@message_warning(message_func), @@message_error(message_func)
Call message_func that returns a message string to display a message. When the function returns and empty string, no message is displayed.
@@buttons(params)
Displays a button group. The params, comma-separated, must contain expressions (like set_position(position + Vector2(9, 20))), preceded by a name (inside quotation marks " ") and optionally a color code (like #009900)
To display a red "Reset" button that calls _reset, write: # @@buttons("Reset", #990000, _reset()).
Note: Assignment = += *= -= /= not supported, use setter functions instead.
Note: Translating nodes in viewport has unpredictable behaviour. Clues on fixes appreciated.
@@dict_table(params)
Displays list of dictionaries as a table. The params, comma-separated, must be in format of key : type, where key is the dictionary's key and type is the name of its datatype.
To store a table of dictionaries each containing a number a, a 2d-vector b and a texture c, write # @@dict_table( a : int, b : Vector2, c : Texture2D).
@@resource_table(properties)
Displays list of resources as a table. Optionally, list properties to display.
@@scroll_box(height)
Puts a table into a scrollable container of maximum size height.
@@show_if(expression)
Hides property if expression evaluates to false.
More commentributes coming soon.
Made by Don Tnowe in 2023.
Copying and Modification is allowed in accordance to the MIT license, full text is included.
A plugin for Godot 4 to extend the Inspector using just comments above properties. Nodes, Resources, and even non-tool scripts supported!
Supports these, and more (check README.md for full list):
# @@message(message_getter) - call message_getter() to get a message. If empty string, hides the message. Has a message_warning and message_error variants.
# @@button_group(params) - assembles buttons. List comma-separated params, which can be strings "", colors #, or expressions. Each Expression must have a string Label preceding it, color optional.
# @@dict_table(params) and # @@resource_table(properties) - displays array of Resources or Dictionaries as a table. for dicts, params must be of format `key : type`.
# @@multi_array_table(property_names) - shows several typed array properties as a table, one array one column.
# @@show_if(expression) - hides property if expression is false.
For more, check out README.md.
More extensions coming soon!
Reviews
Quick Information
A plugin for Godot 4 to extend the Inspector using just comments above properties. Nodes, Resources, and even non-tool scripts supported!Supports these, and more (check README.md for full list):# @@message(message_getter) - call message_getter() to get a message. If empty string, hides the message. Has a message_warning and message_error variants.# @@button_group(params) - assembles buttons. List comma-separated params, which can be strings "", colors #, or expressions. Each Expression must have a string Label preceding it, color optional.# @@dict_table(params) and # @@resource_table(properties) - displays array of Resources or Dictionaries as a table. for dicts, params must be of format `key : type`.# @@multi_array_table(property_names) - shows several typed array properties as a table, one array one column.# @@show_if(expression) - hides property if expression is false.For more, check out README.md.More extensions coming soon!