少年修仙传客户端代码仓库
client_linchunjie
2019-04-10 59785df6a86e8f63576e1316860e6bacca704aef
6477 【前端】【2.0】仙盟boss进入界面修改
1个文件已修改
17 ■■■■ 已修改文件
System/FairyAu/AllianceBossBehaviour.cs 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/AllianceBossBehaviour.cs
@@ -120,19 +120,20 @@
        void DisplayState()
        {
            m_RawBoss.gameObject.SetActive(true);
            var npcData = new UI3DNPCExhibitionData()
            {
                npcId = model.GetBossNpcId(index),
                gray = state == 0,
                isDialogue = false,
            };
            var npcId = model.GetBossNpcId(index);
            var npcConifg = NPCConfig.Get(npcId);
            if (index == 0)
            {
                UI3DModelExhibition.Instance.ShowNPC(m_RawBoss, npcData);
                UI3DModelExhibition.Instance.ShowNPC(npcId, npcConifg.UIModeLOffset,
                    npcConifg.UIModelRotation, m_RawBoss, state == 0);
            }
            else
            {
                UI3DModelExhibition.InstanceClone1.ShowNPC(m_RawBoss, npcData);
                UI3DModelExhibition.InstanceClone1.ShowNPC(npcId, npcConifg.UIModeLOffset,
                    npcConifg.UIModelRotation, m_RawBoss, state == 0);
            }
            m_Goto.gameObject.SetActive(state != 0);