少年修仙传客户端代码仓库
QD_LCJ
2018-08-10 c9cd6e462d9439e9a7734a02976380f74e9af596
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
2个文件已修改
13 ■■■■■ 已修改文件
Core/GameEngine/Model/ConfigManager.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/BossLifeBar.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/ConfigManager.cs
@@ -13,7 +13,7 @@
    public static string CustomIV = "4vHKRj3yfzU=";
    public static string CustomKey = "xhVs6DRXLfUGxw+AhtfQdpQGoa+8SA9d";
    protected string[] lineStep = new string[] { "\r\n" }; //行间隔体
    protected string[] lineStep = new string[] { "\r\n","\n" }; //行间隔体
    protected string[] rowStep = new string[] { "\t" }; //段间隔体
    bool isPlaying = true;
UI/Common/BossLifeBar.cs
@@ -24,6 +24,7 @@
        [SerializeField] Slider m_SliderForeground;
        [SerializeField] Text m_Surplus;
        [SerializeField] Image m_Realm;
        [SerializeField] Text m_BossName;
        [SerializeField] Text m_BossLevel;
@@ -73,6 +74,16 @@
            m_BossName.text = npcConfig.charName;
            m_BossLevel.text = _level.ToString();
            m_BossIcon.SetSprite(npcConfig.HeadPortrait);
            if (npcConfig.Realm > 0)
            {
                m_Realm.gameObject.SetActive(true);
                var realmConfig = ConfigManager.Instance.GetTemplate<RealmConfig>(npcConfig.Realm);
                m_Realm.SetSprite(realmConfig.Img);
            }
            else
            {
                m_Realm.gameObject.SetActive(false);
            }
            surplusSegments = -1;
            totalSegments = npcConfig.LifeBarCount;