Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity cast int to float

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