diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-20 22:33:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 22:33:49 +0200 |
commit | fa2dcc7ace5fefd7038bde2e420b2e96235a43df (patch) | |
tree | dec155b8bf545c5cf0799974189ebf00c794e397 /modules/gdscript/doc_classes | |
parent | 5db878a76e747dedc66ca8e6892098adb517f660 (diff) | |
parent | 8c7d4996c9cd610b313bcb2119d13ee11871bcfe (diff) |
Merge pull request #47935 from HaSa1002/doc-loading-run-time
Diffstat (limited to 'modules/gdscript/doc_classes')
-rw-r--r-- | modules/gdscript/doc_classes/@GDScript.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml index e995cce651..10cf783e73 100644 --- a/modules/gdscript/doc_classes/@GDScript.xml +++ b/modules/gdscript/doc_classes/@GDScript.xml @@ -144,6 +144,7 @@ [/codeblock] [b]Important:[/b] The path must be absolute, a local path will just return [code]null[/code]. This method is a simplified version of [method ResourceLoader.load], which can be used for more advanced scenarios. + [b]Note:[/b] You have to import the files into the engine first to load them using [method load]. 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]. </description> </method> <method name="preload"> |