mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (bdf625b)
This commit is contained in:
@@ -234,9 +234,9 @@ Returns the dependencies for the resource at the given ``path``.
|
||||
|
||||
::
|
||||
|
||||
for dep in ResourceLoader.get_dependencies(path):
|
||||
print(dep.get_slice("::", 0)) # Prints UID.
|
||||
print(dep.get_slice("::", 2)) # Prints path.
|
||||
for dependency in ResourceLoader.get_dependencies(path):
|
||||
print(dependency.get_slice("::", 0)) # Prints the UID.
|
||||
print(dependency.get_slice("::", 2)) # Prints the path.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user