npc
This commit is contained in:
@@ -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