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.

(cherry picked from commit a8404cf56c)
This commit is contained in:
Andrii Doroshenko (Xrayez)
2020-09-30 23:03:36 +03:00
committed by Rémi Verschelde
parent d05a07235c
commit 1a71792655
2 changed files with 3 additions and 2 deletions

View File

@@ -634,6 +634,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">