You've already forked godot
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user