コード例 #1
0
        public override BaseEvent Clone()
        {
            CallActorTick callActorTick = ClassObjPool <CallActorTick> .Get();

            callActorTick.CopyData(this);
            return(callActorTick);
        }
コード例 #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            CallActorTick callActorTick = src as CallActorTick;

            this.TargetId      = callActorTick.TargetId;
            this.ConfigId      = callActorTick.ConfigId;
            this.objectSpaceId = callActorTick.objectSpaceId;
            this.tempIdId      = callActorTick.tempIdId;
        }