diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-09-30 23:03:36 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-09-30 23:03:36 +0300 |
commit | a8404cf56c68bb7ed56cdf6193bad9f92029a8b6 (patch) | |
tree | 64322dd8a9952b56902beece4c60353388d7f059 /modules/gdscript/doc_classes | |
parent | cc62eaf7bed9ccc35c2676423242a204ba07e5e8 (diff) |
Cross-reference GDScript `load` and `ResourceLoader.load` in classref
The GDScript `load` mention is moved from the class `ResourceLoader`
description to the `ResourceLoader.load` method description instead,
where it is more likely to be found.
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 613039754f..4db6968a83 100644 --- a/modules/gdscript/doc_classes/@GDScript.xml +++ b/modules/gdscript/doc_classes/@GDScript.xml @@ -627,6 +627,7 @@ var main = load("res://main.tscn") # main will contain a PackedScene resource. [/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. </description> </method> <method name="log"> |