yyl
12 小时以前 5d3366f2e0f687995eb7ad2107c4379fe7acd4e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
 
    
}