Skip to content

Commit

Permalink
Add remarks doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Exanite committed May 8, 2024
1 parent 799454e commit 2876d46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Editor/SelectAssetDependents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ public static class SelectAssetDependents
{
private static Dictionary<string, HashSet<string>> AssetDependents;

/// <remarks>
/// This behaves slightly differently compared to Unity's "Select Dependencies" option.
/// Instead of adding the dependencies to the selection, this only selects the dependents of the original selection.
/// This makes it easier to tell if there are any dependents since no objects will be selected if there aren't any.
/// </remarks>
public static void Run()
{
var selectedObjects = Selection.objects;
Expand Down

0 comments on commit 2876d46

Please sign in to comment.