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