// Update is called once per frame
    void Update()
    {
        Vector2 screenPos = Input.mousePosition;

        screenPos.x = Mathf.Clamp(screenPos.x, 0.0f, Screen.width);
        screenPos.y = Mathf.Clamp(screenPos.y, 0.0f, Screen.height);

        if (!gmConScript.GetIsReqeated())
        {
            reqeatedCount = 0;
        }

        Ray pointRay = mainCamera.ScreenPointToRay(screenPos);

        if (Input.GetMouseButtonDown(0))
        {
            RaycastHit hit = new RaycastHit();
            MouseDownRayCast(pointRay, hit);
            //連打可能ならば
            if (gmConScript.GetIsReqeated())
            {
                reqeatedCount++;
                gmConScript.SetReqetedCount(reqeatedCount);
            }
        }

        if (Input.GetMouseButton(0))
        {
            tempTime += (pushPower * 0.1f);
        }

        if (Input.GetMouseButtonUp(0))
        {
            RaycastHit hit = new RaycastHit();
            MouseUpRayCast(pointRay, hit);
            isClickFlg   = true;
            clickingTime = tempTime;
            tempTime     = 0.0f;
        }
        Debug.DrawRay(pointRay.origin, pointRay.direction * 1000f);
    }