summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-07-11 11:31:08 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-07-11 11:31:08 +0200
commitf438fdb752cc3417d3926c20c50c92d615cfca0c (patch)
treee61ab8d612f44355d885e99d24eb47c6fd65f384
parent90749251befa6e1d4d4f578b462a370b56e5dd16 (diff)
parentdf1d354d36154985b9ee474528b34700791d2c5e (diff)
downloadredot-engine-f438fdb752cc3417d3926c20c50c92d615cfca0c.tar.gz
Merge pull request #79310 from timothyqiu/remap
Clarify `EditorExportPlugin::add_file` only remaps in `_export_file`
-rw-r--r--doc/classes/EditorExportPlugin.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/EditorExportPlugin.xml b/doc/classes/EditorExportPlugin.xml
index 9c185a2ddb..fa82447894 100644
--- a/doc/classes/EditorExportPlugin.xml
+++ b/doc/classes/EditorExportPlugin.xml
@@ -130,7 +130,8 @@
<param index="1" name="file" type="PackedByteArray" />
<param index="2" name="remap" type="bool" />
<description>
- 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.
</description>
</method>
<method name="add_ios_bundle_file">