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; } }
public void setButtons(MenuButtonType lButton, MenuButtonType rButton) { left = lButton; right = rButton; }