示例#1
0
        public override BaseEvent Clone()
        {
            MaterialFadeDuration duration = ClassObjPool <MaterialFadeDuration> .Get();

            duration.CopyData(this);
            return(duration);
        }
示例#2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            MaterialFadeDuration duration = src as MaterialFadeDuration;

            this.triggerId = duration.triggerId;
            this.FadeIn    = duration.FadeIn;
        }