FairyGUI.TransitionItem.Clone C# (CSharp) Method

Clone() public method

public Clone ( ) : TransitionItem
return TransitionItem
        public TransitionItem Clone()
        {
            TransitionItem item = new TransitionItem();
            item.time = this.time;
            item.targetId = this.targetId;
            item.type = this.type;
            item.duration = this.duration;
            item.value.Copy(this.value);
            item.startValue.Copy(this.startValue);
            item.endValue.Copy(this.endValue);
            item.easeType = this.easeType;
            item.repeat = this.repeat;
            item.yoyo = this.yoyo;
            item.tween = this.tween;
            item.label = this.label;
            item.label2 = this.label2;
            return item;
        }