From 2904d1906902e38bc3f738d4b81d0d777266e299 Mon Sep 17 00:00:00 2001 From: TechnoPorg Date: Sat, 14 Jan 2023 13:02:34 -0700 Subject: Make EditorResourceConversionPlugin usable. Previously, EditorResourceConversionPlugin nominally existed in scripting, but there was no way for a user to actually register one. This PR adds methods to EditorPlugin for registering/unregistering EditorResourceConversionPlugins. Additionally, it documents EditorResourceConversionPlugin with descriptions and a basic example. --- doc/classes/EditorPlugin.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/classes/EditorPlugin.xml') diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index 2124a97751..370be8e9f3 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -467,6 +467,14 @@ See [method add_inspector_plugin] for an example of how to register a plugin. + + + + + Registers a new [EditorResourceConversionPlugin]. Resource conversion plugins are used to add custom resource converters to the editor inspector. + See [EditorResourceConversionPlugin] for an example of how to create a resource conversion plugin. + + @@ -632,6 +640,13 @@ Removes a gizmo plugin registered by [method add_node_3d_gizmo_plugin]. + + + + + Removes a resource conversion plugin registered by [method add_resource_conversion_plugin]. + + -- cgit v1.2.3