× Phaseshift FCOM Tutorials

Useful C# List functions


Use these handy methods to order your C# lists

Ordering by two parameters


Ordering List by distance to another object


Sometimes you may need to order a List depending on it's proximity to another target object. You can use the following to prioritise by distance.

Documentation


To explore more on these topics, check out the documentation:

List<T> Class

Liked this article?

Please consider sharing!
Author

Josh Lyell

Game Developer