             let tapwork = UITapGestureRecognizer()
             let ovalShapeLayerwork = CAShapeLayer()
             
-            tapwork.addTarget(self, action: "onTap:")
+            tapwork.addTarget(self, action: "GestureRecognizerTap:")
             GestureRecognizerViewwork.frame = CGRectMake(CGFloat(GesturePositionArray[i][0]),CGFloat(GesturePositionArray[i][1]),CGFloat(GesturePositionArray[i][2]),CGFloat(GesturePositionArray[i][2]))
             
             ovalShapeLayerwork.strokeColor = UIColor.clearColor().CGColor

            transitionButtonwork.layer.position = CGPoint(x: transitionButtonPosition[i][0], y:transitionButtonPosition[i][1])
            transitionButtonwork.setTitle(transitionButtonTitle[i], forState: .Normal)
            transitionButtonwork.setTitleColor(UIColor.hex(ColorCode[i], alpha: 1.0), forState: .Normal)
            transitionButtonwork.addTarget(self, action: "onTap:", forControlEvents:.TouchUpInside)
            transitionButton.append(transitionButtonwork)
            
            self.AnimationMenuView.addSubview(transitionButton[i])
        }
    }

        
    }
    
    func GestureRecognizerTap(gestureRecognizer: UITapGestureRecognizer){
        
        //メニューが出ているときのみ動作
        if(menushow == 1){
            Screentransition(gestureRecognizer.view!.tag)     //画面遷移を行う関数へタグを渡す
        }else{
            //メニューが出ていない時は何も動作しない
        }
    }
    
    func TransitionButtonTap(sender: UIButton){
        if(menushow == 1){
            Screentransition(sender.tag)                      //画面遷移を行う関数へタグを渡す
        }else{
            //何もしない
        }
    }
    
    //画面遷移を行う
    func Screentransition(sendertag: Int){
        switch(sendertag){
        case 1:
            print("時給設定")
        case 2:
            print("取り込み")
        case 3:
            print("月給表示")
        case 4:
            print("開発者ロール")
        default:
            break
        }

    }
    
    var finishedcount = 0
