Пример #1
0
    public DesignPattern Save()
    {
        var pattern = new DesignPattern();

        pattern.Type  = Type;
        pattern.IsPro = Type != DesignPattern.TypeEnum.SimplePattern;
        pattern.FromTexture(this.CurrentPattern.GetPreviewSprite().texture);
        return(pattern);
    }