Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity how to find the largest value out of 2 numbers

// prints 2
print(Mathf.Max(1f, 2f));
 
PREVIOUS NEXT
Tagged: #unity #find #largest #numbers
ADD COMMENT
Topic
Name
9+2 =