|
@@ -6,7 +6,7 @@
|
|
<description>
|
|
<description>
|
|
This plugins allows adding custom property editors to [EditorInspector].
|
|
This plugins allows adding custom property editors to [EditorInspector].
|
|
Plugins are registered via [method EditorPlugin.add_inspector_plugin].
|
|
Plugins are registered via [method EditorPlugin.add_inspector_plugin].
|
|
- When an object is edited, the [method can_handle] function is called and must return true if the object type is supported.
|
|
|
|
|
|
+ When an object is edited, the [method can_handle] function is called and must return [code]true[/code] if the object type is supported.
|
|
If supported, the function [method parse_begin] will be called, allowing to place custom controls at the beginning of the class.
|
|
If supported, the function [method parse_begin] will be called, allowing to place custom controls at the beginning of the class.
|
|
Subsequently, the [method parse_category] and [method parse_property] are called for every category and property. They offer the ability to add custom controls to the inspector too.
|
|
Subsequently, the [method parse_category] and [method parse_property] are called for every category and property. They offer the ability to add custom controls to the inspector too.
|
|
Finally [method parse_end] will be called.
|
|
Finally [method parse_end] will be called.
|
|
@@ -54,7 +54,7 @@
|
|
<argument index="0" name="object" type="Object">
|
|
<argument index="0" name="object" type="Object">
|
|
</argument>
|
|
</argument>
|
|
<description>
|
|
<description>
|
|
- Returns true if this object can be handled by this plugin.
|
|
|
|
|
|
+ Returns [code]true[/code] if this object can be handled by this plugin.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="parse_begin" qualifiers="virtual">
|
|
<method name="parse_begin" qualifiers="virtual">
|