You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Document caveats related to exported project binary resource conversion
This commit is contained in:
@@ -170,6 +170,7 @@
|
||||
[b]Important:[/b] The path must be absolute. A relative path will always return [code]null[/code].
|
||||
This function is a simplified version of [method ResourceLoader.load], which can be used for more advanced scenarios.
|
||||
[b]Note:[/b] Files have to be imported into the engine first to load them using this function. If you want to load [Image]s at run-time, you may use [method Image.load]. If you want to import audio files, you can use the snippet described in [member AudioStreamMP3.data].
|
||||
[b]Note:[/b] If [member ProjectSettings.editor/export/convert_text_resources_to_binary] is [code]true[/code], [method @GDScript.load] will not be able to read converted files in an exported project. If you rely on run-time loading of files present within the PCK, set [member ProjectSettings.editor/export/convert_text_resources_to_binary] to [code]false[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="preload">
|
||||
|
||||
Reference in New Issue
Block a user