using System.Collections.Generic; using UnityEngine; public partial class HeroInfo { // 78 # 英雄使用的皮肤索引 public int SkinIndex { get { if (itemHero == null) return 0; return itemHero.GetUseDataFirstValue(78); } } // 服务器数据 皮肤ID public int SkinID { get { return heroConfig.SkinIDList[SkinIndex]; } } // 皮肤配置 public HeroSkinConfig skinConfig { get { return HeroSkinConfig.Get(SkinID); } } }