From df1d354d36154985b9ee474528b34700791d2c5e Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Tue, 11 Jul 2023 09:07:22 +0800 Subject: [PATCH] Clarify EditorExportPlugin::add_file only remaps in _export_file --- doc/classes/EditorExportPlugin.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/EditorExportPlugin.xml b/doc/classes/EditorExportPlugin.xml index 9c185a2ddbb..fa824478940 100644 --- a/doc/classes/EditorExportPlugin.xml +++ b/doc/classes/EditorExportPlugin.xml @@ -130,7 +130,8 @@ - Adds a custom file to be exported. [param path] is the virtual path that can be used to load the file, [param file] is the binary data of the file. If [param remap] is [code]true[/code], file will not be exported, but instead remapped to the given [param path]. + Adds a custom file to be exported. [param path] is the virtual path that can be used to load the file, [param file] is the binary data of the file. + When called inside [method _export_file] and [param remap] is [code]true[/code], the current file will not be exported, but instead remapped to this custom file. [param remap] is ignored when called in other places.