少年修仙传客户端代码仓库
client_linchunjie
2019-04-10 59785df6a86e8f63576e1316860e6bacca704aef
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);