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

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

            this.targetId  = playSoundTick.targetId;
            this.eventName = playSoundTick.eventName;
        }