unity cast int to float
Code Example - unity cast int to float
//(float) casts float or int after it to an float
intVar = (float)var
//(float) casts float or int after it to an float
intVar = (float)var