using System.Collections.Generic;
|
using UnityEngine;
|
|
public partial class HeroInfo
|
{
|
// 服务器数据 皮肤索引
|
public int SkinIndex = 0;
|
|
// 服务器数据 皮肤ID
|
public int SkinID
|
{
|
get
|
{
|
if (null == heroConfig)
|
return 0;
|
|
if (SkinIndex > heroConfig.SkinNPCIDList.Length && SkinIndex >= 0)
|
{
|
return heroConfig.SkinNPCIDList[SkinIndex];
|
}
|
return heroConfig.SkinNPCIDList[0];
|
}
|
}
|
|
// 皮肤配置
|
public HeroSkinConfig skinConfig;
|
|
|
}
|