A downloadable subgraph node

Download NowName your own price

This asset requires Unity editor version 2021.2.0b14 or greater and Unity Visual Scripting version 1.7.2 or greater.

This subgraph accepts a List of GameObject and a Distance Source GameObject to compare distance to. It returns a List of GameObject sorted according to distance (closest to farthest) as well as the nearest and farthest GameObjects (individually) from the list.

To Install: Right-click an empty area in your project window. Select Import Package > Custom Package from the context menu. Find and open the GameObject Distance Comparator unitypackage file then click Import on the window that opens.

To Use:  Supply a List of GameObject and Distance Source GameObject with the Sort Flow and receive a sorted List of GameObject, Nearest GameObject, and Farthest GameObject with the Sorted output flow.


Download NowName your own price

Click download now to get access to the following files:

GameObject Distance Comparator.unitypackage 6 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.