public void BuildStrongholdDawingList() { int count = playerData.playerObjects.Count; for (int i = 0; i < count; i++) { int idType = AndaDataManager.Instance.GetObjTypeID(playerData.playerObjects[i].objectID); Debug.Log("idType" + idType); if (idType == 42010) { LD_Objs lD_Objs = ConvertTool.ConvertToLd_objs(playerData.playerObjects[i]); strongholdDrawingList.Add(lD_Objs); } else if (idType == 43000) { LD_Objs lD_Objs = ConvertTool.ConvertToLd_objs(playerData.playerObjects[i]); if (playerData.playerObjects[i].objectID == 43004) { strongholdRewardCardList.Add(lD_Objs); } } } }