From 24589d7ca37a5a8678aa6480596a37eb866921d0 Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 27 Feb 2023 11:54:01 +0100 Subject: Improve documentation of EditorExportPlugin --- doc/classes/EditorExportPlugin.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/EditorExportPlugin.xml b/doc/classes/EditorExportPlugin.xml index fd76e8ddaa..5d1d2cd8f2 100644 --- a/doc/classes/EditorExportPlugin.xml +++ b/doc/classes/EditorExportPlugin.xml @@ -15,7 +15,8 @@ - Return true if this plugin will customize resources based on the platform and features used. + Return [code]true[/code] if this plugin will customize resources based on the platform and features used. + When enabled, [method _get_customization_configuration_hash], [method _customize_resource] and [method _customize_scene] will be called and must be implemented. @@ -33,6 +34,7 @@ Customize a resource. If changes are made to it, return the same or a new resource. Otherwise, return [code]null[/code]. The [i]path[/i] argument is only used when customizing an actual file, otherwise this means that this resource is part of another one and it will be empty. + Implementing this method is required if [method _begin_customize_resources] returns [code]true[/code]. @@ -41,6 +43,7 @@ Customize a scene. If changes are made to it, return the same or a new scene. Otherwise, return [code]null[/code]. If a new scene is returned, it is up to you to dispose of the old one. + Implementing this method is required if [method _begin_customize_resources] returns [code]true[/code]. @@ -85,6 +88,7 @@ Return a hash based on the configuration passed (for both scenes and resources). This helps keep separate caches for separate export configurations. + Implementing this method is required if [method _begin_customize_resources] returns [code]true[/code]. @@ -98,7 +102,8 @@ - Return the name identifier of this plugin (for future identification by the exporter). + Return the name identifier of this plugin (for future identification by the exporter). The plugins are sorted by name before exporting. + Implementing this method is required. -- cgit v1.2.3