示例#1
0
 public void CreateRealPosition()
 {
     position   = voxSpace.GetFloorGridCellRectCenterPos(floorCellIdxX, floorCellIdxZ);
     yPosRange  = voxSpace.GetWallGridCellPosRange(heightCellStartIdx, heightCellEndIdx);
     position.y = (yPosRange[0] + yPosRange[1]) / 2f;
 }