//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Saturday, August 18, 2018
|
//--------------------------------------------------------
|
using UnityEngine;
|
using System.Collections;
|
using UnityEngine.UI;
|
|
|
namespace Snxxz.UI
|
{
|
|
public class ElderEliteMonsterBehaviour : MonoBehaviour
|
{
|
[SerializeField] RawImage m_RawImage;
|
|
public void Display(int npcId)
|
{
|
var config = NPCConfig.Get(npcId);
|
UI3DModelExhibition.Instance.ShowNPC(npcId, config.UIModeLOffset, config.UIModelRotation, m_RawImage);
|
}
|
|
public void Dispose()
|
{
|
UI3DModelExhibition.Instance.StopShow();
|
}
|
|
}
|
|
}
|