classref: Sync with current master branch (a758388)

This commit is contained in:
Godot Organization
2023-07-15 03:23:27 +00:00
parent 147e996bbd
commit b3214b14c2
85 changed files with 3099 additions and 116 deletions
+3 -1
View File
@@ -290,7 +290,9 @@ Return ``true``, if the result of :ref:`_get_export_options<class_EditorExportPl
void **add_file** **(** :ref:`String<class_String>` path, :ref:`PackedByteArray<class_PackedByteArray>` file, :ref:`bool<class_bool>` remap **)**
Adds a custom file to be exported. ``path`` is the virtual path that can be used to load the file, ``file`` is the binary data of the file. If ``remap`` is ``true``, file will not be exported, but instead remapped to the given ``path``.
Adds a custom file to be exported. ``path`` is the virtual path that can be used to load the file, ``file`` is the binary data of the file.
When called inside :ref:`_export_file<class_EditorExportPlugin_method__export_file>` and ``remap`` is ``true``, the current file will not be exported, but instead remapped to this custom file. ``remap`` is ignored when called in other places.
.. rst-class:: classref-item-separator