Answers for "how do i convert a float to an int in unity?"

C#
4

unity cast int to float

//(float) casts float or int after it to an float
intVar = (float)var
Posted by: Guest on March-26-2020

Code answers related to "how do i convert a float to an int in unity?"

C# Answers by Framework

Browse Popular Code Answers by Language