public void Init() { List <string> items = new List <string>(); foreach (MenuJson.OptionMenuTab option in GameManager.GetInstance().menuJson.optionsMenu) { items.Add(option.tabName); } top.items = items.ToArray(); topBar.Init(); top.Init(false, true); top.ChangeButtons(ButtonManager.ButtonID.L1, ButtonManager.ButtonID.R1); bottomLeft.menuArea.SetParent(bottomMenu.menuArea); bottomRight.menuArea.SetParent(bottomMenu.menuArea); BottomMenuChange(0, true); }