public static void pushHeader(ref LocationHdr lHdr) { QueueHdr hdr; hdr.type = HeaderType.Location; hdr.pHdr = lHdr; Instance.outQueue.Enqueue(hdr); }
public override void doWork(LocationHdr hdr) { this.location = hdr.position; this.rotation = hdr.rotation; }
public abstract void doWork(LocationHdr hdr);
private void locationUpdate(LocationHdr hdr) { GameObject node = GameObjManager.Instance().findFromIndex(hdr.goIndex); if(node != null) node.doWork(hdr); }