コード例 #1
0
        public void setButtons(MenuButtonType lButton, MenuButtonType rButton, string side)
        {
            left  = lButton;
            right = rButton;

            switch (side)
            {
            case "left":
                left.Flip = true;
                break;

            case "right":
                right.Flip = true;
                break;

            default:
                right.Flip = true;
                break;
            }
        }
コード例 #2
0
 public void setButtons(MenuButtonType lButton, MenuButtonType rButton)
 {
     left  = lButton;
     right = rButton;
 }