cannot convert from 'double' to 'float' unity c# 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
}