Esempio n. 1
0
        public override BaseEvent Clone()
        {
            TriigerUIAddPartical partical = ClassObjPool <TriigerUIAddPartical> .Get();

            partical.CopyData(this);
            return(partical);
        }
Esempio n. 2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            TriigerUIAddPartical partical = src as TriigerUIAddPartical;

            this.particleName = partical.particleName;
            this.screenPos    = partical.screenPos;
            this.playTime     = partical.playTime;
        }