Merge pull request #42439 from Xrayez/doc-gdscript-load-and-resloader-xref

Cross-reference GDScript `load` and `ResourceLoader.load` in classref
This commit is contained in:
Rémi Verschelde
2020-10-04 20:48:07 +02:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@ -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">