| | |
| | |
|
| | | private void FoucsEventPoint(int _eventPoint)
|
| | | {
|
| | | var config = MapEventPointConfig.Get(_eventPoint);
|
| | | if (config != null)
|
| | | {
|
| | | var npcConfig = NPCConfig.Get(config.NPCID);
|
| | | if (npcConfig.NPCType == 0)
|
| | | {
|
| | | m_EventPointInstroduce.gameObject.SetActive(false);
|
| | | return;
|
| | | }
|
| | | }
|
| | |
|
| | | if (model.selectedMapEventPoint != -1)
|
| | | {
|
| | | var config = MapEventPointConfig.Get(_eventPoint);
|
| | | var monsterRefreshConfig = MonsterRefreshPointConfig.Get(config.NPCID);
|
| | | var position = new Vector3(monsterRefreshConfig.Position.x * 0.5f, 0, monsterRefreshConfig.Position.y * 0.5f);
|
| | |
|