public void RemovePointAllNpc()
    {
        if (!XkGameCtrl.GetMissionCleanupIsActive())
        {
            return;
        }

        if (NpcObj == null)
        {
            Debug.LogError("Unity:" + "NpcObj is null");
            return;
        }

//		if (ScreenDanHeiCtrl.IsStartGame) {
//			if (!gameObject.activeSelf) {
//				return;
//			}
//			gameObject.SetActive(false);
//
//			if (IsRemoveSpawnPointNpc) {
//				return;
//			}
//			IsRemoveSpawnPointNpc = true;
//		}
//		else {
//			//reset spawnPoint info
//			IsSpawnPointNpc = false;
//		}

        if (IsRemoveSpawnPointNpc)
        {
            return;
        }
        IsRemoveSpawnPointNpc = true;
        //reset spawnPoint info
//		IsSpawnPointNpc = false;

        if (IsInvoking("StartSpawnNpc"))
        {
            CancelInvoke("StartSpawnNpc");
        }

        if (NpcFangZhenScript != null)
        {
            if (NpcFangZhenScript.TestSpawnPoint != gameObject)
            {
                //Debug.LogWarning("Unity:"+"RemovePointAllNpc -> Cannot remove fangZhenNpc");
                return;
            }
            NpcFangZhenScript.TriggerRemovePointNpc(0);
        }
        else if (DaPaoScript != null)
        {
            if (DaPaoScript.TestSpawnPoint != gameObject)
            {
                //Debug.LogWarning("Unity:"+"RemovePointAllNpc -> Cannot remove daPaoNpc");
                return;
            }
            DaPaoScript.OnRemoveCannon(PlayerEnum.Null, 0);
        }
        else if (HuoCheScript != null)
        {
            HuoCheScript.OnRemoveHuoCheObj();
        }
        else if (NpcScript != null)
        {
            int max = NpcScript.Length;
            for (int i = 0; i < max; i++)
            {
                if (NpcScript[i] != null)
                {
                    if (NpcScript[i].TestSpawnPoint != gameObject)
                    {
                        //Debug.LogWarning("Unity:"+"RemovePointAllNpc -> Cannot remove puTongNpc");
                        continue;
                    }
                    NpcScript[i].TriggerRemovePointNpc(0);
                }
            }
        }
    }