how to get x position in unity code example Example: unity how to set an objects postion x,y,z transform.position = new Vector3(x, y, z);