private static NavGrid ReadStandardNavGridHeader(NavBinaryReader b, NavGrid grid) { grid.MinGridPos = b.ReadVector3(); grid.MaxGridPos = b.ReadVector3(); grid.CellSize = b.GetBinaryReader().ReadSingle(); grid.XCellCount = b.GetBinaryReader().ReadUInt32(); grid.YCellCount = b.GetBinaryReader().ReadUInt32(); return(grid); }