VisualScriptCustomNodes

Inherits: Object

Manages custom nodes for the Visual Script editor.

Description

This singleton can be used to manage (i.e., add or remove) custom nodes for the Visual Script editor.

Methods

void

add_custom_node ( String name, String category, Script script )

void

remove_custom_node ( String name, String category )

Signals

  • custom_nodes_updated ( )

Emitted when a custom Visual Script node is added or removed.

Method Descriptions

Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the category as the parameter.


Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed.