unity variable types code example
Example: unity c# variable types
//Formatting
[Access Modifier] [type] [name];
public GameObject someObject;
public Transform someTransform;
public Vector3 someVector = new Vector3();
public float someFloat = 1f;
public int someInt = 1;
public string someString = "";
public bool someBool = false;
public Camera someCamera;
public [someClassName] someClass = new [someClassName](); //this creates a new instance of a class