1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

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.
This commit is contained in:
Andrii Doroshenko (Xrayez)
2020-09-30 23:03:36 +03:00
parent cc62eaf7be
commit a8404cf56c
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">