[皮肤]伤害统计界面添加皮肤显示
							parent
							
								
									454a70668d
								
							
						
					
					
						commit
						a09870522a
					
				| 
						 | 
				
			
			@ -320,7 +320,14 @@ function this.HeadAdapter(head, data)
 | 
			
		|||
        end
 | 
			
		||||
 | 
			
		||||
        frame.sprite = Util.LoadSprite(GetHeroQuantityImageByquality(config.Quality))
 | 
			
		||||
        icon.sprite = Util.LoadSprite(GetResourcePath(config.Icon))
 | 
			
		||||
        local aa=config.Icon
 | 
			
		||||
        if data.skinId and data.skinId>0 then
 | 
			
		||||
          local skinConfig=ConfigManager.GetConfigDataByKey(ConfigName.HeroSkin,"Type",data.skinId)
 | 
			
		||||
          if skinConfig then
 | 
			
		||||
              aa=skinConfig.Icon
 | 
			
		||||
          end
 | 
			
		||||
        end
 | 
			
		||||
        icon.sprite = Util.LoadSprite(GetResourcePath(aa))
 | 
			
		||||
 | 
			
		||||
        lv:SetActive(true)
 | 
			
		||||
        lvText.text = config.lv
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue