float to double 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
}