コード例 #1
0
ファイル: Attach.cs プロジェクト: 675492062/behaviac
        public TransitionEffector(TransitionEffector other)
        {
            this.Operator = other.Operator;

            if (other.Opl != null)
            { this.Opl = other.Opl.Clone() as RightValueDef; }

            if (other.Opr1 != null)
            { this.Opr1 = other.Opr1.Clone() as RightValueDef; }

            if (other.Opr2 != null)
            { this.Opr2 = other.Opr2.Clone() as RightValueDef; }
        }
コード例 #2
0
        public TransitionEffector(TransitionEffector other)
        {
            this.Operator = other.Operator;

            if (other.Opl != null)
            {
                this.Opl = other.Opl.Clone() as RightValueDef;
            }

            if (other.Opr1 != null)
            {
                this.Opr1 = other.Opr1.Clone() as RightValueDef;
            }

            if (other.Opr2 != null)
            {
                this.Opr2 = other.Opr2.Clone() as RightValueDef;
            }
        }