public override BaseEvent Clone() { TriigerUIAddPartical partical = ClassObjPool <TriigerUIAddPartical> .Get(); partical.CopyData(this); return(partical); }
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; }