Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity cast float to int

//(int) casts float or int after it to an int
intVar = (int)var
 
PREVIOUS NEXT
Tagged: #unity #cast #float #int
ADD COMMENT
Topic
Name
9+5 =