private void EnterNPC(Transform mapNpcTrans)
 {
     expUICtr.EnterNPC(mapNpcTrans.GetComponent <MapNPC> ().npc, currentLevelIndex);
 }
Пример #2
0
 /// <summary>
 /// 显示npc交互界面
 /// </summary>
 /// <param name="mapNPC">Map npc.</param>
 public void ShowNPCPlane(MapNPC mapNPC)
 {
     MapWalkableEventsStopAction();
     expUICtr.EnterNPC(mapNPC.npc);
 }