////////////////////////////////// /// private void EGMI_ACK_MOVE(int id, MemoryStream stream) { Debug.Log("Move " + Time.time); NFMsg.MsgBase xMsg = NFMsg.MsgBase.Parser.ParseFrom(stream); NFMsg.ReqAckPlayerPosSync xData = NFMsg.ReqAckPlayerPosSync.Parser.ParseFrom(xMsg.MsgData); if (xData.SyncUnit.Count <= 0) { return; } float fSpeed = mKernelModule.QueryPropertyInt(mHelpModule.PBToNF(xData.Mover), NFrame.NPC.MOVE_SPEED) / 100.0f; //mSceneModule.MoveTo(mHelpModule.PBToNF(xData.Mover), new UnityEngine.Vector3(xData.TargetPos[0].X, xData.TargetPos[0].Y, xData.TargetPos[0].Z), fSpeed, true); }