npc
This commit is contained in:
@@ -2,31 +2,10 @@
|
||||
<config>
|
||||
<Settings mapID="1000" />
|
||||
<Npcs>
|
||||
<Npc id="1001" indexX="85" indexY="84" dir="3">
|
||||
<Npc id="1001" indexX="43" indexY="69" dir="3">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1002" indexX="102" indexY="110" dir="3">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1003" indexX="142" indexY="98" dir="5">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1004" indexX="119" indexY="118" dir="5">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1005" indexX="60" indexY="150" dir="7">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1006" indexX="106" indexY="89" dir="5">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1007" indexX="139" indexY="128" dir="3">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1008" indexX="75" indexY="73" dir="3">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
<Npc id="1011" indexX="132" indexY="108" dir="5">
|
||||
<Npc id="1002" indexX="63" indexY="99" dir="3">
|
||||
<NpcPaths />
|
||||
</Npc>
|
||||
</Npcs>
|
||||
|
||||
@@ -71,6 +71,11 @@ public class UINpcItem : UIBaseItem
|
||||
DestroyImmediate(gameObject);
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
if (sceneArea == null) return;
|
||||
DestroyImmediate(sceneArea.gameObject);
|
||||
}
|
||||
public bool CheckValid()
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtID.text))
|
||||
|
||||
Reference in New Issue
Block a user