how to convert variable double into long in unity code example
Example: unity transformer double en float
float myFloat;
double myDouble;
void Start()
{
myFloat = (float)myDouble; //give the value of myDouble to myFloat
}
float myFloat;
double myDouble;
void Start()
{
myFloat = (float)myDouble; //give the value of myDouble to myFloat
}