public override BaseEvent Clone()
        {
            SpawnPetDuration spawnPetDuration = ClassObjPool <SpawnPetDuration> .Get();

            spawnPetDuration.CopyData(this);
            return(spawnPetDuration);
        }
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SpawnPetDuration spawnPetDuration = src as SpawnPetDuration;

            this.targetId   = spawnPetDuration.targetId;
            this.prefabName = spawnPetDuration.prefabName;
            this.offset     = spawnPetDuration.offset;
            this.petType    = spawnPetDuration.petType;
        }