예제 #1
0
        public static void pushHeader(ref LocationHdr lHdr)
        {
            QueueHdr hdr;
            hdr.type = HeaderType.Location;
            hdr.pHdr = lHdr;

            Instance.outQueue.Enqueue(hdr);
        }
예제 #2
0
 public override void doWork(LocationHdr hdr)
 {
     this.location = hdr.position;
     this.rotation = hdr.rotation;
 }
예제 #3
0
 public abstract void doWork(LocationHdr hdr);
예제 #4
0
        private void locationUpdate(LocationHdr hdr)
        {
            GameObject node = GameObjManager.Instance().findFromIndex(hdr.goIndex);

            if(node != null)
                node.doWork(hdr);
        }