var LeftGroupToTop:int=60;
var LeftGroupWidth:int=300;
var LeftGroupHeight:int=700;
var LeftGroupLabelWidth:int=30;
private var MoveDistance =LeftGroupLabelWidth-LeftGroupWidth;
private var XPosition;
private var StartPoint:float=MoveDistance;
function Update(){
//获取鼠标的x坐标位置
XPosition=Input.mousePosition.x;
if(XPosition<LeftGroupLabelWidth){
OpenLeftGroup ();
}