6477 【前端】【2.0】仙盟boss进入界面修改
| | |
| | | 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);
|