mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Merge pull request #79310 from timothyqiu/remap
Clarify `EditorExportPlugin::add_file` only remaps in `_export_file`
This commit is contained in:
		
						commit
						f438fdb752
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -130,7 +130,8 @@
 | 
				
			||||||
			<param index="1" name="file" type="PackedByteArray" />
 | 
								<param index="1" name="file" type="PackedByteArray" />
 | 
				
			||||||
			<param index="2" name="remap" type="bool" />
 | 
								<param index="2" name="remap" type="bool" />
 | 
				
			||||||
			<description>
 | 
								<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>
 | 
								</description>
 | 
				
			||||||
		</method>
 | 
							</method>
 | 
				
			||||||
		<method name="add_ios_bundle_file">
 | 
							<method name="add_ios_bundle_file">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue