private void Hotkeys() { if (BDInputUtils.GetKeyDown(BDInputSettingsFields.VS_SWITCH_NEXT)) { SwitchToNextVessel(); } if (BDInputUtils.GetKeyDown(BDInputSettingsFields.VS_SWITCH_PREV)) { SwitchToPreviousVessel(); } }
void HotKeys() { if (BDInputUtils.GetKeyDown(BDInputSettingsFields.TOURNAMENT_SETUP)) { BDATournament.Instance.SetupTournament(BDArmorySettings.VESSEL_SPAWN_FILES_LOCATION, BDArmorySettings.TOURNAMENT_ROUNDS, BDArmorySettings.TOURNAMENT_VESSELS_PER_HEAT); } if (BDInputUtils.GetKeyDown(BDInputSettingsFields.TOURNAMENT_RUN)) { BDATournament.Instance.RunTournament(); } }
private void Hotkeys() { if (BDArmorySettings.MULTIPLAYER_ACTIVE) { return; } if (BDInputUtils.GetKeyDown(BDInputSettingsFields.VS_SWITCH_NEXT)) { SwitchToNextVessel(); } if (BDInputUtils.GetKeyDown(BDInputSettingsFields.VS_SWITCH_PREV)) { SwitchToPreviousVessel(); } }
IEnumerator RecordKeyRoutine() { while (!valid) { if (mouseUp) { string iString = BDInputUtils.GetInputString(); if (iString.Length > 0) { inputString = iString; valid = true; } } if (Input.GetKeyUp(KeyCode.Mouse0)) { mouseUp = true; } yield return(null); } }