public DesignPattern Save() { var pattern = new DesignPattern(); pattern.Type = Type; pattern.IsPro = Type != DesignPattern.TypeEnum.SimplePattern; pattern.FromTexture(this.CurrentPattern.GetPreviewSprite().texture); return(pattern); }