📜  unity Transformer double en float - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:23.282000             🧑  作者: Mango

代码示例1
float myFloat;
double myDouble;

void Start()
{
    myFloat = (float)myDouble; //give the value of myDouble to myFloat
}