Question by
Master_Andrey1 · Aug 05, 2020 at 12:33 PM ·
numbers
How to find the smallest float in a group of them,How can I get the smallest float from a collection of them?
I am working on a game that needs the AI to go to objects. So I need to find the smallest float.,I am working on a game where the AI has to go to the closest object, and I need to know how to find the smallest float so I can send that to a SetDirection function.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613004946im_/https://answers.unity.com/themes/thub/images/avi.jpg)