public void AllClientsShowNavMesh(bool enable)
        {
            var pkg = new S2C_ShowNavMesh.ArgumentData();

            pkg.Enable = enable;
            if (ProfilerConnect != null)
            {
                S2C_ShowNavMesh.Instance.DoCall(
                    ref pkg,
                    NetCore.ERouteTarget.Self, ProfilerConnect, null);
            }
        }
 public void OnS2C_ShowNavMesh(byte userFlags, ref S2C_ShowNavMesh.ArgumentData cmd, UInt16 serialId, NetCore.NetConnection connect, ref NetCore.RPCRouter.RouteData routeInfo)
 {
     CEngine.PhysicsDebug = cmd.Enable;
 }