private static void openIngameMenu(int userIndex) { Debug.Log("Opening ingame menu"); Time.timeScale = 0; dettachUserControllables(); dettach(); ingameMenu.controller = GameManager.users[userIndex].getController(); ingameMenu.setUser(GameManager.users[userIndex]); ingameMenu.setViewrect(new Rect(0, 0, 1, 1)); ingameMenu.setRendering(true); ingameMenu.setUIResponding(true); }