public void CreateAreaMapLayer(AreaInspectorInfo areaInfo, AreaInspectionMapLayer areaInspectionMapLayerPrefab) { areaInfo.mapLayer = toolLayers.CreateGridMapLayer(areaInspectionMapLayerPrefab, "AreaInspectionLayer" + createdAreaInspectionCount.ToString()); areaInfo.mapLayer.Init(areaInfo.coords); }
public void CreateLineMapLayer(LineInspectorInfo lineInfo, LineInspectionMapLayer lineInspectionMapLayerPrefab) { lineInfo.mapLayer = toolLayers.CreateGridMapLayer(lineInspectionMapLayerPrefab, "LineInspectionLayer" + createdLineInspectionCount.ToString()); lineInfo.mapLayer.Init(lineInfo.coords); }