变量的声明与使用:
public bool boolleanValue; -//值类型(可直接赋值)
public float floatValue; -//小数
public int intValue; -//整数
public Vector2 vector2Value; -//
public Vector3 vector3Value; -//
public Quaternion queternionVelue;-//
public byte byteVelue; -//
public string stringVelue; -//字符
public enum emType { A, B, C }; -//
public emType em; -//
private Color[] myColorValues; -//颜色数组
public GameObject otherObject; -//引用类型(需引用物体)
public test testScript; -//