public float leftBorder;
public float rightBorder;
public float topBorder;
public float downBorder;
private float width;
private float height;
private int count;
bool fistTan = false;
void Start()
{
//世界坐标的右上角 因为视口坐标右上角是1,1,点
Vector3 cornerPos = Camera.main.ViewportToWorldPoint(new Vector3(1f, 1f,
Mathf.Abs(-Camera.main.transform.position.z)));
//世界坐标左边界
leftBorder = Camera.main.transform.position.x - (cornerPos.x - Camera.main.transform.position.x);
//世界坐标右边界
rightBorder = cornerPos.x;
//世界坐标上边界
topBorder = cornerPos.y;
//世界坐标下边界
downBorder