Beispiel #1
0
        public JobHandle ScheduleReceive(NetworkPacketReceiver receiver, JobHandle dep)
        {
            var job = new ReceiveJob {
                receiver = receiver, socket = m_UserData[0]
            };

            return(job.Schedule(dep));
        }
        public JobHandle ScheduleReceive(NetworkPacketReceiver receiver, JobHandle dep)
        {
            var job = new ReceiveJob
            {
                Baselib  = m_Baselib,
                Rx       = m_PayloadsRx,
                Receiver = receiver
            };

            return(job.Schedule(dep));
        }