private void Update()
        {
            if (Input.GetKeyDown(resetKey))
            {
                transform.position   = Vector3.zero;
                _cubeDirectionStatus = CubeDirectionStatus.Center;
            }
            switch (_cubeDirectionStatus)
            {
            //めんどくさいしオイラー角で
            case CubeDirectionStatus.Center:
                rotVec.Set(0, 0, 0);
                break;

            case CubeDirectionStatus.Left:
                rotVec.Set(0, -30, 0);
                break;

            case CubeDirectionStatus.Right:
                rotVec.Set(0, 30, 0);
                break;
            }
            transform.eulerAngles = rotVec;
            transform.Translate(0, 0, moveSpeed * Time.deltaTime);
        }
 private void OnGetReadInt(int _getData)
 {
     _cubeDirectionStatus = (CubeDirectionStatus)_getData;
 }