static void HandleRearViewToggle() { if (UIManager.m_menu_selection == 11) { RearView.Toggle(); MenuManager.PlayCycleSound(1f, (float)UIManager.m_select_dir); } }
static void Prefix() { if (GameplayManager.IsMultiplayerActive) { return; } foreach (char c in Input.inputString) { if (code[codeIdx] == c) { if (++codeIdx < code.Length) { continue; } else { RearView.Toggle(); } } codeIdx = 0; } }