unity how to find the smallest value out of 2 numbers code example Example: unity how to find the smallest value out of 2 numbers // Prints 1 print(Mathf.Min(1f, 2f));