public void OnBeginDrag(PointerEventData eventData)
    {
        if (trans.InClosing())
        {
            return;
        }
        SceneStateManager.Clear();
        trans.ClearState();
        Vector2 mousePosition;

        GetLocalPosition(eventData.position, out mousePosition);
        offSetX = Position.x - mousePosition.x;
        //Debug.Log(mousePosition);
    }
 /// <summary>
 /// 返回到开始界面状态
 /// </summary>
 public void BackToMain()
 {
     SceneStateManager.Clear();
     menuTrans.ClearState();
     mainTrans.StartTrans();
 }