|
@@ -35,6 +35,12 @@
|
|
<param index="0" name="path" type="String" />
|
|
<param index="0" name="path" type="String" />
|
|
<description>
|
|
<description>
|
|
Returns the dependencies for the resource at the given [param path].
|
|
Returns the dependencies for the resource at the given [param path].
|
|
|
|
+ [b]Note:[/b] The dependencies are returned with slices separated by [code]::[/code]. You can use [method String.get_slice] to get their components.
|
|
|
|
+ [codeblock]
|
|
|
|
+ for dep in ResourceLoader.get_dependencies(path):
|
|
|
|
+ print(dep.get_slice("::", 0)) # Prints UID.
|
|
|
|
+ print(dep.get_slice("::", 2)) # Prints path.
|
|
|
|
+ [/codeblock]
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="get_recognized_extensions_for_type">
|
|
<method name="get_recognized_extensions_for_type">
|