|  | @@ -325,7 +325,8 @@ public class YZTLayer : YZTRootLayer
 | 
	
		
			
				|  |  |                      viewMode = ViewMode.normal;
 | 
	
		
			
				|  |  |                      StaticLod.instance.OnFoucusStatic(newPoint.staticImp);
 | 
	
		
			
				|  |  |                      yZT.gameObject.SetActive(true);
 | 
	
		
			
				|  |  | -                    ChangeRightContent(tempI);
 | 
	
		
			
				|  |  | +                    int index = FindIndexByLayerUnitName(temp.name);
 | 
	
		
			
				|  |  | +                    ChangeRightContent(index);
 | 
	
		
			
				|  |  |                      middleContent.gameObject.SetActive(false);
 | 
	
		
			
				|  |  |                      rightContent.gameObject.SetActive(false);
 | 
	
		
			
				|  |  |                      LeftBtnClick(1, false);
 | 
	
	
		
			
				|  | @@ -336,6 +337,20 @@ public class YZTLayer : YZTRootLayer
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    int FindIndexByLayerUnitName(string name) {
 | 
	
		
			
				|  |  | +        for (int i = 0; i < GlobalData.layerUnitDatas.Count; i++) {
 | 
	
		
			
				|  |  | +            if (GlobalData.layerUnitDatas[i].name == name.Trim()) {
 | 
	
		
			
				|  |  | +                return i;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        return -1;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    //void OnNewPointClick(HotPointData temp,) {
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  | +    //}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      async Task InitData() {
 | 
	
		
			
				|  |  |          await new WaitUntil(() => {
 | 
	
		
			
				|  |  |              return GlobalData.layerUnitDatas.Count > 0;
 |