public void defaultProfile() { drivers = defaultDrivers(); passengers = defaultPassengers(); symbolType = SymbolType.ExampleMath; textureSymbols = defaultTextureSymbols(); numberRange = defaultNumbers(); letters = defaultLetters(); customMappings = defaultCustomMappings(); exampleMath = exampleMathMappings(); exampleEnglish = exampleEnglishMappings(); }
private static TextureSymbols defaultTextureSymbols() { var paths = new List <string>() { "Images/carrot", "Images/cherries", "Images/grapes", "Images/watermelon", "Images/raspberry", "Images/gamepad", "Images/pyramid", "Images/rocket", "Images/skateboard", "Images/spinner", "Images/gift" }; var textureSymbols = new TextureSymbols(); paths.ForEach(t => textureSymbols.Add(Resources.Load <Texture2D>(t))); textureSymbols.AllTextures().ForEach(t => textureSymbols.Select(t)); return(textureSymbols); }