public static Pattern CreatePattern(string patternName) { Pattern result; Texture2D tempTexture = Resources.Load <Texture2D>("Magic/SpellPatterns/" + patternName); return(PatternParser.CreatePattern(tempTexture)); }