You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/classes/ResourceLoader.xml
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,12 @@
51
51
Returns the list of recognized extensions for a resource type.
52
52
</description>
53
53
</method>
54
+
<methodname="get_requested_paths">
55
+
<returntype="PackedStringArray" />
56
+
<description>
57
+
Returns a list of the paths of all currently cached resources loaded by [method load_threaded_request].
58
+
</description>
59
+
</method>
54
60
<methodname="get_resource_uid">
55
61
<returntype="int" />
56
62
<paramindex="0"name="path"type="String" />
@@ -81,6 +87,13 @@
81
87
[b]Note:[/b] If [member ProjectSettings.editor/export/convert_text_resources_to_binary] is [code]true[/code], [method @GDScript.load] will not be able to read converted files in an exported project. If you rely on run-time loading of files present within the PCK, set [member ProjectSettings.editor/export/convert_text_resources_to_binary] to [code]false[/code].
82
88
</description>
83
89
</method>
90
+
<methodname="load_threaded_forget">
91
+
<returntype="void" />
92
+
<paramindex="0"name="path"type="String" />
93
+
<description>
94
+
Unloads the resource previously loaded by [method load_threaded_request].
0 commit comments