From 59785df6a86e8f63576e1316860e6bacca704aef Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 10 四月 2019 14:02:35 +0800
Subject: [PATCH] 6477 【前端】【2.0】仙盟boss进入界面修改

---
 System/FairyAu/AllianceBossBehaviour.cs |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/System/FairyAu/AllianceBossBehaviour.cs b/System/FairyAu/AllianceBossBehaviour.cs
index 61e1c88..3474930 100644
--- a/System/FairyAu/AllianceBossBehaviour.cs
+++ b/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);

--
Gitblit v1.8.0