unity how to find the largest value out of 2 numbers
Code Example - unity how to find the largest value out of 2 numbers
// prints 2
print(Mathf.Max(1f, 2f));
// prints 2
print(Mathf.Max(1f, 2f));