                 ShowTransitionButton()
             }else{//生成している場合は表示だけ行う
                 for(var i = 0; i < 3; i++){
-                       self.transitionButton[i].setTitleColor(UIColor.hex(ColorCode[i], alpha: 1.0), forState: .Normal)
+                    self.transitionButton[i].setTitleColor(UIColor.hex(ColorCode[i], alpha: 1.0), forState: .Normal)
                 }
             }
         }

        
    }
    
    func onTap(gestureRecognizer: UITapGestureRecognizer){
        
        //メニューが出ているときのみ動作
        if(menushow == 1){
            print("tap")
        }else{
            //メニューが出ていない時は何も動作しない
        }
    }
    
    var finishedcount = 0

            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: "TransitionButtonTap:", forControlEvents:.TouchUpInside)
            transitionButtonwork.tag = i+1
            transitionButton.append(transitionButtonwork)
            self.AnimationMenuView.addSubview(transitionButton[i])
        }
    }
