Skip to content

Commit bcfff0d

Browse files
authored
Merge pull request #6958 from ms738/patch-25
Update DependencyWindow.md
2 parents 265b583 + c3cd999 commit bcfff0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11

22
# Dependency window
33

4-
Often in Unity it is difficult to gleam which assets are being used, and what is referencing them. The "Find References in Scene" option works great when you are only concerned with the current scene, but what about your entire Unity project? This is where the [Dependency Window](https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Assets/MixedRealityToolkit.Tools/DependencyWindow) can be useful.
4+
In Unity, it is often difficult to gleam which assets are being used, and what is referencing them. The "Find References in Scene" option works great when you are only concerned with the current scene, but what about your entire Unity project? This is where the [Dependency Window](https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Assets/MixedRealityToolkit.Tools/DependencyWindow) can be useful.
55

66
The Dependency Window displays how assets reference and depend on each other. Dependencies are calculated by parsing guids within project YAML files (note, script to script dependencies are not considered).
77

88
## Usage
99

10-
To open the window select *Mixed Reality Toolkit->Utilities->Dependency Window* this will open the window and automatically begin building your project's dependency graph. Once the dependency graph is built you can select assets in the project tab to inspect their dependencies.
10+
To open the window, select *Mixed Reality Toolkit->Utilities->Dependency Window* which will open the window and automatically begin building your project's dependency graph. Once the dependency graph is built, you can select assets in the project tab to inspect their dependencies.
1111

1212
![Dependency window](../../Documentation/Images/DependencyWindow/MRTK_Dependency_Window.png)
1313

14-
The window displays a list of assets the currently select asset depends on, and a hierarchical list of assets that depend on it. If nothing depends on the currently selected asset you can consider deleting it from your project (note some assets are loaded programmatically via APIs like Shader.Find() and may not be caught by the dependency tracker).
14+
The window displays a list of assets that the currently selected asset depends on, and a hierarchical list of assets that depend on it. If nothing depends on the currently selected asset, you can consider deleting it from your project (note that some assets are loaded programmatically via APIs like Shader.Find() and may not be caught by the dependency tracker).
1515

1616
The window can also display just a list of all assets which are not referenced by any other assets and could be considered for deletion:
1717

1818
![Dependency window showing unreferenced assets](../../Documentation/Images/DependencyWindow/MRTK_Dependency_Window_Unreferenced.png)
1919

2020
> [!NOTE]
21-
> If assets are modified, added, or removed while the dependency window is in use it is advised to refresh the dependency graph for the most "up to date" results.
21+
> If assets are modified, added, or removed while the dependency window is in use, it is advised to refresh the dependency graph for the most "up to date" results.

0 commit comments

Comments
 (0)