From 167b02d94218d3180ea0b6e0d2e83733ceff3b20 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 (cherry picked from commit df1d354d36154985b9ee474528b34700791d2c5e) --- 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 a5b42bb8923..76d81ce361c 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.