public static void OpenMenu(int menuIndex) { SetPause_Static(true); UITween menu = instance.menus[menuIndex]; menu.Enable(); currentlyOpenUI = menu; }