public void OnEquipTitle() { RestrictionInput.StartLoad(RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON); TitleListItem[] titles = this.titleList.GetComponentsInChildren <TitleListItem>(true); TitleListItem currentEquipedTitle = titles.FirstOrDefault((TitleListItem _title) => _title.GetTitleId() == this.currentSelectedTitleId); APIRequestTask apirequestTask = new APIRequestTask(); apirequestTask.Add(TitleDataMng.RequestUpdateEquipedTitle(this.currentSelectedTitleId, false)); base.StartCoroutine(apirequestTask.Run(delegate { RestrictionInput.EndLoad(); TitleListItem[] titles; foreach (TitleListItem titleListItem in titles) { titleListItem.unequip(); } currentEquipedTitle.equip(); currentEquipedTitle.OnSelectTitle(); GUIPlayerStatus.RefreshParams_S(false); CMD_Profile.RefreshParams(); }, delegate(Exception nop) { RestrictionInput.EndLoad(); }, null)); }