void Start() { player1LayoutIndex = InputMapper.PlayerNumToControllerLayoutIndex(0); player2LayoutIndex = InputMapper.PlayerNumToControllerLayoutIndex(1); UpdateLayoutNames(); }
void Start() { controllerLayoutIndex = InputMapper.PlayerNumToControllerLayoutIndex(playerNum); // Only first player layout (keyboard + mouse) is allowed to use mouse if (controllerLayoutIndex != 0) { supportMouse = false; } }