public BuildSetting(string name) { Name = name; var validCharacterName = InvalidCharacterPairs.Replace(name); var validKeyword = InvalidNames.Replace(validCharacterName); CSharpName = validKeyword; }
public BuildSetting(string path) { Path = System.IO.Path.ChangeExtension(path.Replace("Assets/", ""), null); var validCharacterName = InvalidCharacterPairs.Replace(Path); var validKeyword = InvalidNames.Replace(validCharacterName); CSharpName = validKeyword; }