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