Skip to content

Instantly share code, notes, and snippets.

@unity3dcollege
Created July 1, 2017 20:21
Show Gist options
  • Save unity3dcollege/91c469b70f9a48af1928dbf99553ea07 to your computer and use it in GitHub Desktop.
Save unity3dcollege/91c469b70f9a48af1928dbf99553ea07 to your computer and use it in GitHub Desktop.
var coinsByDistance = allCoins.OrderBy(Vector3.Distance(transform.position, t.transform.position);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment