コード例 #1
0
        public override Scene.SceneObj OnCopy()
        {
            Pic3x3 e = new Pic3x3();

            //this
            e.drawblock    = this.drawblock;
            e.borderleft   = this.borderleft;
            e.bordertop    = this.bordertop;
            e.borderright  = this.borderright;
            e.borderbottom = this.borderbottom;
            e.color        = this.color;
            //e.seedorient = this.seedorient;
            //e.seedsize = this.seedsize;
            //uielement
            e.Text       = this.Text;
            e.Orient     = this.Orient;
            e.Size       = this.Size;
            e.posHAlign  = this.posHAlign;
            e.posVAlign  = this.posVAlign;
            e.ClipRender = this.ClipRender;
            //scene
            e._pos       = this._pos;
            e._scale     = this._scale;
            e.needUpdate = true;



            return(e);
        }
コード例 #2
0
ファイル: Pic3x3.cs プロジェクト: Gaopest/fightclub
        public override Scene.SceneObj OnCopy()
        {
            Pic3x3 e = new Pic3x3();
            //this
            e.drawblock = this.drawblock;
            e.borderleft = this.borderleft;
            e.bordertop = this.bordertop;
            e.borderright = this.borderright;
            e.borderbottom = this.borderbottom;
            e.color = this.color;
            //e.seedorient = this.seedorient;
            //e.seedsize = this.seedsize;
            //uielement
            e.Text = this.Text;
            e.Orient = this.Orient;
            e.Size = this.Size;
            e.posHAlign = this.posHAlign;
            e.posVAlign = this.posVAlign;
            e.ClipRender = this.ClipRender;
            //scene
            e._pos = this._pos;
            e._scale = this._scale;
            e.needUpdate = true;

            return e;
        }