IEnumerator Start() { //------------------------------------ Debug.Log("#### xml parsing"); yield return(StartCoroutine(ItemInfo.Co_Init())); yield return(null); //----------------------------------- Debug.Log("#### data search"); CheckWearPart(105); //티타늄 헬멧(장착템만 Parsing들어가 있다). CheckWearPart(4009); //존재 안함... //----------------------------------- Debug.Log("#### data loop"); int count = 0; foreach (ItemInfo_WearPart _data in ItemInfo.dic_wearPart.Values) { Debug.Log(_data.itemCode + " > " + _data.itemname); if (count++ > 5) { break; } } }