📜  如何使变量统一 - 无论代码示例

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

代码示例2
public GameObject objectName; //creates a gameobject with the name "objectName"
private float myDecimal = 0.25f; //creates a float with the name "myDecimal";
//note that decimal floats have to end with 'f' and floats can be any numerical value.