public void defaultProfile() { drivers = defaultDrivers(); passengers = defaultPassengers(); symbolType = SymbolType.ExampleMath; textureSymbols = defaultTextureSymbols(); numberRange = defaultNumbers(); letters = defaultLetters(); customMappings = defaultCustomMappings(); exampleMath = exampleMathMappings(); exampleEnglish = exampleEnglishMappings(); }
public void ProcessInput(InputState input) { ConsoleAction action; if (ActionDefinitions.TryGetAction(input, out action)) { ProcessAction(action); } else { for (int i = 0; i < input.PressedKeys.Count; i++) { Keys key = input.PressedKeys[i]; Symbol symbol; if (SymbolMappings.TryGetValue(key, out symbol)) { ProcessSymbol(symbol); } } } }
public static void Modify(SymbolMappings pickable) { CustomSetPicker.pickable = pickable; CustomSetPicker.PreviousScene = SceneManager.GetActiveScene().name; SceneManager.LoadScene("CustomSetPick"); }