protected void SetCharaInfo(FriendCharaInfo data, int i, Transform t, bool is_recycle, bool isGM) { //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) SetEvent(t, "GUILD_INFO", i); if (isGM) { SetRenderNPCModel(t, UI.TEX_MODEL, 0, new Vector3(0f, -1.49f, 1.87f), new Vector3(0f, 154f, 0f), 10f, null); } else { SetRenderPlayerModel(t, UI.TEX_MODEL, PlayerLoadInfo.FromCharaInfo(data, false, true, false, true), 99, new Vector3(0f, -1.536f, 1.87f), new Vector3(0f, 154f, 0f), true, null); } SetLabelText(t, UI.LBL_NAME, data.name); SetLabelText(t, UI.LBL_LEVEL, data.level.ToString()); SetLabelText(t, UI.LBL_COMMENT, data.comment); SetLabelText(t, UI.LBL_LAST_LOGIN, base.sectionData.GetText("LAST_LOGIN")); SetLabelText(t, UI.LBL_LAST_LOGIN_TIME, data.lastLogin); EquipSetCalculator otherEquipSetCalculator = MonoBehaviourSingleton <StatusManager> .I.GetOtherEquipSetCalculator(i + 4); otherEquipSetCalculator.SetEquipSet(data.equipSet, false); SimpleStatus finalStatus = otherEquipSetCalculator.GetFinalStatus(0, data.hp, data.atk, data.def); SetLabelText(t, UI.LBL_ATK, finalStatus.GetAttacksSum().ToString()); SetLabelText(t, UI.LBL_DEF, finalStatus.defences[0].ToString()); SetLabelText(t, UI.LBL_HP, finalStatus.hp.ToString()); DegreePlate component = FindCtrl(t, UI.OBJ_DEGREE_FRAME_ROOT).GetComponent <DegreePlate>(); component.Initialize(data.selectedDegrees, false, delegate { GetCtrl(UI.GRD_LIST).GetComponent <UIGrid>().Reposition(); }); }
private void SetMemberInfo(LoungeModel.SlotInfo data, int i, Transform t) { //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) CharaInfo userInfo = data.userInfo; FollowLoungeMember followLoungeMember = MonoBehaviourSingleton <LoungeMatchingManager> .I.GetFollowLoungeMember(userInfo.userId); EquipSetCalculator otherEquipSetCalculator = MonoBehaviourSingleton <StatusManager> .I.GetOtherEquipSetCalculator(i + 4); otherEquipSetCalculator.SetEquipSet(data.userInfo.equipSet, false); SetRenderPlayerModel(t, UI.TEX_MODEL, PlayerLoadInfo.FromCharaInfo(userInfo, false, true, false, true), 99, new Vector3(0f, -1.536f, 1.87f), new Vector3(0f, 154f, 0f), true, null); SetLabelText(t, UI.LBL_NAME, userInfo.name); SetLabelText(t, UI.LBL_LEVEL, userInfo.level.ToString()); SetFollowStatus(t, userInfo.userId, followLoungeMember.following, followLoungeMember.follower); SetActive(t, UI.SPR_ICON_HOST, userInfo.userId == MonoBehaviourSingleton <LoungeMatchingManager> .I.loungeData.ownerUserId); SetPlayingStatus(t, userInfo.userId); SetActive(t, UI.SPR_ICON_FIRST_MET, MonoBehaviourSingleton <LoungeMatchingManager> .I.CheckFirstMet(userInfo.userId)); DegreePlate component = FindCtrl(t, UI.OBJ_DEGREE_FRAME_ROOT).GetComponent <DegreePlate>(); component.Initialize(userInfo.selectedDegrees, false, delegate { GetCtrl(UI.GRD_LIST).GetComponent <UIGrid>().Reposition(); }); if (MonoBehaviourSingleton <LoungeMatchingManager> .I.IsRallyUser(userInfo.userId)) { SetBadge(t, -1, 1, 10, 0, true); } }
protected virtual void CreateDegree() { DegreePlate component = GetCtrl(UI.OBJ_DEGREE_PLATE_ROOT).GetComponent <DegreePlate>(); component.Initialize(SelectedDegrees, false, delegate { }); }
private void SetFollowerInfo(GuildSearchFollowerRoomModel.GuildFollowerModel data, Transform t) { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) SetRenderPlayerModel(t, UI.TEX_MODEL, PlayerLoadInfo.FromCharaInfo(data.charInfo, false, true, false, true), 99, new Vector3(0f, -1.536f, 1.87f), new Vector3(0f, 154f, 0f), true, null); SetLabelText(t, UI.LBL_NAME, data.charInfo.name); SetLabelText(t, UI.LBL_LEVEL, data.charInfo.level.ToString()); DegreePlate component = FindCtrl(t, UI.OBJ_DEGREE_FRAME_ROOT).GetComponent <DegreePlate>(); component.Initialize(data.charInfo.selectedDegrees, false, delegate { GetCtrl(UI.GRD_LIST).GetComponent <UIGrid>().Reposition(); }); }
protected void SetCharaInfo(FriendCharaInfo data, int i, Transform t, bool is_recycle, bool isGM) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) SetEvent(t, "FOLLOW_INFO", i); if (isGM) { SetRenderNPCModel(t, UI.TEX_MODEL, 0, new Vector3(0f, -1.49f, 1.87f), new Vector3(0f, 154f, 0f), 10f, null); } else { ForceSetRenderPlayerModel(t, UI.TEX_MODEL, PlayerLoadInfo.FromCharaInfo(data, false, true, false, true), 99, new Vector3(0f, -1.536f, 1.87f), new Vector3(0f, 154f, 0f), true, null); } CharaInfo.ClanInfo clanInfo = data.clanInfo; if (clanInfo == null) { clanInfo = new CharaInfo.ClanInfo(); clanInfo.clanId = -1; clanInfo.tag = string.Empty; } bool isSameTeam = clanInfo.clanId > -1 && MonoBehaviourSingleton <GuildManager> .I.guildData != null && clanInfo.clanId == MonoBehaviourSingleton <GuildManager> .I.guildData.clanId; SetSupportEncoding(t, UI.LBL_NAME, true); SetLabelText(t, UI.LBL_NAME, Utility.GetNameWithColoredClanTag(clanInfo.tag, data.name, data.userId == MonoBehaviourSingleton <UserInfoManager> .I.userInfo.id, isSameTeam)); SetLabelText(t, UI.LBL_LEVEL, data.level.ToString()); SetLabelText(t, UI.LBL_COMMENT, data.comment); SetLabelText(t, UI.LBL_LAST_LOGIN, base.sectionData.GetText("LAST_LOGIN")); SetLabelText(t, UI.LBL_LAST_LOGIN_TIME, data.lastLogin); EquipSetCalculator otherEquipSetCalculator = MonoBehaviourSingleton <StatusManager> .I.GetOtherEquipSetCalculator(i + 4); otherEquipSetCalculator.SetEquipSet(data.equipSet, false); SimpleStatus finalStatus = otherEquipSetCalculator.GetFinalStatus(0, data.hp, data.atk, data.def); SetLabelText(t, UI.LBL_ATK, finalStatus.GetAttacksSum().ToString()); SetLabelText(t, UI.LBL_DEF, finalStatus.GetDefencesSum().ToString()); SetLabelText(t, UI.LBL_HP, finalStatus.hp.ToString()); DegreePlate component = FindCtrl(t, UI.OBJ_DEGREE_FRAME_ROOT).GetComponent <DegreePlate>(); component.Initialize(data.selectedDegrees, false, delegate { GetCtrl(UI.GRD_LIST).GetComponent <UIGrid>().Reposition(); }); }
public override void UpdateUI() { base.UpdateUI(); List <DegreeTable.DegreeData> currentShow = (!showAll) ? userHaveData : allData; maxPage = currentShow.Count / GameDefine.DEGREE_FRAME_CHANGE_LIST_COUNT; if (currentShow.Count % GameDefine.DEGREE_FRAME_CHANGE_LIST_COUNT > 0) { maxPage++; } int item_num = Mathf.Min(GameDefine.DEGREE_FRAME_CHANGE_LIST_COUNT, currentShow.Count - (currentPage - 1) * GameDefine.DEGREE_FRAME_CHANGE_LIST_COUNT); SetGrid(UI.GRD_FRAME, "DegreePlate", item_num, true, delegate(int i, Transform t, bool b) { //IL_006a: Unknown result type (might be due to invalid IL or missing references) int index = i + (currentPage - 1) * GameDefine.DEGREE_FRAME_CHANGE_LIST_COUNT; DegreePlate component = t.GetComponent <DegreePlate>(); DegreeTable.DegreeData degreeData = currentShow[index]; SetEvent(t, "FRAME_SELECT", degreeData); if (degreeData.IsUnlcok(MonoBehaviourSingleton <UserInfoManager> .I.unlockedDegreeIds)) { component.SetFrame((int)degreeData.id); component.GetComponent <Collider>().set_enabled(true); component.get_gameObject().AddComponent <UIDragScrollView>(); } else if (degreeData.IsSecretName(MonoBehaviourSingleton <UserInfoManager> .I.unlockedDegreeIds)) { component.SetUnknownFrame(); component.GetComponent <Collider>().set_enabled(false); } else { component.SetFrame((int)degreeData.id); component.GetComponent <Collider>().set_enabled(false); } }); SetLabelText((Enum)UI.LBL_SORT, (!showAll) ? StringTable.Get(STRING_CATEGORY.TEXT_SCRIPT, 21u) : StringTable.Get(STRING_CATEGORY.TEXT_SCRIPT, 20u)); bool flag = maxPage > 1; SetActive((Enum)UI.OBJ_ACTIVE_ARROW_ROOT, flag); SetActive((Enum)UI.OBJ_INACTIVE_ARROW_ROOT, !flag); SetLabelText((Enum)UI.LBL_ARROW_NOW, currentPage.ToString()); SetLabelText((Enum)UI.LBL_ARROW_MAX, maxPage.ToString()); }
private IEnumerator DoInitialize() { bool wait = true; degree = GetCtrl(UI.OBJ_DEGREE_ROOT).GetComponent <DegreePlate>(); UserStatus status = MonoBehaviourSingleton <UserInfoManager> .I.userStatus; EquipSetInfo equip_set = MonoBehaviourSingleton <StatusManager> .I.GetEquipSet(status.eSetNo); uint visual_armor = uint.Parse(status.armorUniqId); uint visual_helm = uint.Parse(status.helmUniqId); uint visual_arm = uint.Parse(status.armUniqId); uint visual_leg = uint.Parse(status.legUniqId); bool is_show_helm = MonoBehaviourSingleton <StatusManager> .I.GetEquippingShowHelm(status.eSetNo) == 1; PlayerLoadInfo load_info = new PlayerLoadInfo(); load_info.SetupLoadInfo(equip_set, 0uL, visual_armor, visual_helm, visual_arm, visual_leg, is_show_helm); OutGameSettingsManager.ProfileScene param = MonoBehaviourSingleton <OutGameSettingsManager> .I.profileScene; UIRenderTexture rt = InitRenderTexture(UI.TEX_MODEL, param.cameraFieldOfView, false); if (!object.ReferenceEquals(rt, null)) { rt.nearClipPlane = param.nearClip; } EnableRenderTexture(UI.TEX_MODEL); SetRenderPlayerModel((Enum)UI.TEX_MODEL, load_info, PLAYER_ANIM_TYPE.GetStatus(MonoBehaviourSingleton <UserInfoManager> .I.userStatus.sex), param.playerPos, new Vector3(0f, param.playerRot, 0f), is_show_helm, (Action <PlayerLoader>) delegate(PlayerLoader x) { ((_003CDoInitialize_003Ec__IteratorF4) /*Error near IL_01e7: stateMachine*/)._003C_003Ef__this.playerLoader = x; ((_003CDoInitialize_003Ec__IteratorF4) /*Error near IL_01e7: stateMachine*/)._003Cwait_003E__0 = false; }); if (eventListener == null) { eventListener = GetCtrl(UI.OBJ_PROFILE_BG).GetComponent <UIEventListener>(); UIEventListener uIEventListener = eventListener; uIEventListener.onDrag = (UIEventListener.VectorDelegate)Delegate.Combine(uIEventListener.onDrag, new UIEventListener.VectorDelegate(OnDrag)); } while (wait) { yield return((object)null); } base.Initialize(); }
public override void Initialize() { //IL_01e5: Unknown result type (might be due to invalid IL or missing references) //IL_01ea: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_01fb: Unknown result type (might be due to invalid IL or missing references) currentDegrees = MonoBehaviourSingleton <UserInfoManager> .I.selectedDegreeIds.ToList(); showAll = true; currentTab = WORD_TAB.PREFIX; SpoileColor(); DegreeTable.DegreeData data = Singleton <DegreeTable> .I.GetData((uint)currentDegrees[0]); currentSelectData = ((data.type != DEGREE_TYPE.SPECIAL_FRAME) ? Singleton <DegreeTable> .I.GetData((uint)currentDegrees[1]) : null); List <DegreeTable.DegreeData> all = Singleton <DegreeTable> .I.GetAll(); all.Sort((DegreeTable.DegreeData a, DegreeTable.DegreeData b) => (int)(a.id - b.id)); allNounData = (from x in all where x.type == DEGREE_TYPE.NOUN select x).ToList(); allConData = (from x in all where x.type == DEGREE_TYPE.CONJUNCTION select x).ToList(); userHaveNounData = (from x in allNounData where x.IsUnlcok(MonoBehaviourSingleton <UserInfoManager> .I.unlockedDegreeIds) select x).ToList(); userHaveConData = (from x in allConData where x.IsUnlcok(MonoBehaviourSingleton <UserInfoManager> .I.unlockedDegreeIds) select x).ToList(); userHaveFrameData = (from x in all where x.type == DEGREE_TYPE.FRAME where x.IsUnlcok(MonoBehaviourSingleton <UserInfoManager> .I.unlockedDegreeIds) select x).ToList(); currentPage = 1; currentPlate = GetCtrl(UI.OBJ_DEGREE_PLATE_ROOT).GetComponent <DegreePlate>(); arrowTrans = GetCtrl(UI.SPR_TAB_SELECTING); arrowLocalPos = arrowTrans.get_localPosition(); arrowlocalScale = arrowTrans.get_localScale(); base.Initialize(); }
public static void Create(MonoBehaviour call_mono, List <int> degreeIds, bool isButton, Action <DegreePlate> onFinish) { //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Expected O, but got Unknown ResourceObject cachedResourceObject = MonoBehaviourSingleton <ResourceManager> .I.cache.GetCachedResourceObject(RESOURCE_CATEGORY.UI, "DegreePlate"); if (cachedResourceObject != null) { DegreePlate component = (Object.Instantiate(cachedResourceObject.obj) as GameObject).GetComponent <DegreePlate>(); component.Initialize(degreeIds, isButton, onFinish); } else { MonoBehaviourSingleton <ResourceManager> .I.Load(ResourceLoad.GetResourceLoad(call_mono, true), RESOURCE_CATEGORY.UI, "DegreePlate", delegate(ResourceManager.LoadRequest x, ResourceObject[] y) { //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Expected O, but got Unknown y[0].refCount++; DegreePlate component2 = (Object.Instantiate(y[0].obj) as GameObject).GetComponent <DegreePlate>(); component2.Initialize(degreeIds, isButton, onFinish); }, null, false, null); } }
private void SetFollowerInfo(LoungeSearchFollowerRoomModel.LoungeFollowerModel data, Transform t) { //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) CharaInfo charaInfo = null; for (int i = 0; i < data.slotInfos.Count; i++) { if (data.slotInfos[i].userInfo != null && data.slotInfos[i].userInfo.userId == data.followerUserId) { charaInfo = data.slotInfos[i].userInfo; } } SetRenderPlayerModel(t, UI.TEX_MODEL, PlayerLoadInfo.FromCharaInfo(charaInfo, false, true, false, true), 99, new Vector3(0f, -1.536f, 1.87f), new Vector3(0f, 154f, 0f), true, null); SetLabelText(t, UI.LBL_NAME, charaInfo.name); SetLabelText(t, UI.LBL_LEVEL, charaInfo.level.ToString()); DegreePlate component = FindCtrl(t, UI.OBJ_DEGREE_FRAME_ROOT).GetComponent <DegreePlate>(); component.Initialize(charaInfo.selectedDegrees, false, delegate { GetCtrl(UI.GRD_LIST).GetComponent <UIGrid>().Reposition(); }); SetActive(t, UI.SPR_ICON_FIRST_MET, CheckFirstMet(charaInfo.userId)); }
public override void UpdateUI() { //IL_0490: Unknown result type (might be due to invalid IL or missing references) //IL_0515: Unknown result type (might be due to invalid IL or missing references) //IL_0529: Unknown result type (might be due to invalid IL or missing references) if (MonoBehaviourSingleton <InGameRecorder> .IsValid()) { float num = (float)MonoBehaviourSingleton <InGameRecorder> .I.GetTotalEnemyHP(); int num2 = 0; float num3 = 0f; score_list.Clear(); score_truncation_list.Clear(); for (int i = 0; i < 4; i++) { int num4 = 0; float num5 = 0f; if (playerRecords != null && i < playerRecords.Count && playerRecords[i] != null) { InGameRecorder.PlayerRecord playerRecord = playerRecords[i]; float num6 = (float)playerRecord.givenTotalDamage / num * 100f; num4 = (int)num6; num5 = num6 - (float)num4; if (num2 + num4 > 100) { num4 = 100 - num2; } num2 += num4; } score_list.Add(num4); score_truncation_list.Add(num5); num3 += num5; } int num7 = (int)(num3 + 0.1f); if (num7 > 0 && num2 < 100) { for (int j = 0; j < 4; j++) { int num8 = Mathf.CeilToInt(score_truncation_list[j]); List <int> list; List <int> list2 = list = score_list; int index; int index2 = index = j; index = list[index]; list2[index2] = index + num8; num7 -= num8; num2 += num8; if (num7 <= 0 || num2 >= 100) { break; } } } InGameRecorder.CheckAndRepairIsSelf(ref playerRecords); for (int k = 0; k < 4; k++) { if (playerRecords != null && k < playerRecords.Count && playerRecords[k] != null) { InGameRecorder.PlayerRecord playerRecord2 = playerRecords[k]; if (playerRecord2 != null && playerRecord2.charaInfo != null) { bool flag = false; if (playerRecord2.id != 0 && playerRecord2.charaInfo.userId != 0) { QuestResultUserCollection.ResultUserInfo userInfo = MonoBehaviourSingleton <QuestManager> .I.resultUserCollection.GetUserInfo(playerRecord2.charaInfo.userId); if (userInfo != null && !userInfo.CanSendFollow) { flag = true; } if (userInfo != null) { playerRecord2.charaInfo.selectedDegrees = userInfo.selectDegrees; } } Transform root = SetPrefab(itemsL[k], "QuestResultFriendItemL", true); if (playerRecord2.isSelf) { playerRecord2.charaInfo.selectedDegrees = MonoBehaviourSingleton <UserInfoManager> .I.selectedDegreeIds; } CharaInfo.ClanInfo clanInfo = playerRecord2.charaInfo.clanInfo; if (clanInfo == null) { clanInfo = new CharaInfo.ClanInfo(); clanInfo.clanId = -1; clanInfo.tag = string.Empty; } bool isSameTeam = clanInfo.clanId > -1 && MonoBehaviourSingleton <GuildManager> .I.guildData != null && clanInfo.clanId == MonoBehaviourSingleton <GuildManager> .I.guildData.clanId; if (playerRecord2.isSelf) { SetSupportEncoding(root, UI.LBL_NAME_OWN, true); SetLabelText(root, UI.LBL_NAME_OWN, Utility.GetNameWithColoredClanTag(clanInfo.tag, playerRecord2.charaInfo.name, playerRecord2.id == MonoBehaviourSingleton <UserInfoManager> .I.userInfo.id, isSameTeam)); SetActive(root, UI.LBL_NAME, false); } else { SetSupportEncoding(root, UI.LBL_NAME, true); SetLabelText(root, UI.LBL_NAME, Utility.GetNameWithColoredClanTag(clanInfo.tag, playerRecord2.charaInfo.name, playerRecord2.id == MonoBehaviourSingleton <UserInfoManager> .I.userInfo.id, isSameTeam)); SetActive(root, UI.LBL_NAME_OWN, false); } if (!playerRecord2.isNPC) { int num9 = playerRecord2.charaInfo.level; if (playerRecord2.isSelf) { num9 = MonoBehaviourSingleton <UserInfoManager> .I.userStatus.level; } SetLabelText(root, UI.LBL_LEVEL, string.Format(base.sectionData.GetText("LEVEL"), num9)); } else { SetActive(root, UI.LBL_LEVEL, false); if (FindCtrl(root, UI.BTN_DETAIL) != null && base.GetComponent <UINoAuto>(root, (Enum)UI.BTN_DETAIL) == null) { FindCtrl(root, UI.BTN_DETAIL).get_gameObject().AddComponent <UINoAuto>(); } } SetEvent(root, UI.BTN_DETAIL, "DETAIL", k); if (playerRecord2.isSelf) { SetButtonSprite(root, UI.BTN_DETAIL, "ResultPlatemine", true); } PlayerLoadInfo playerLoadInfo = playerRecord2.playerLoadInfo.Clone(); playerLoadInfo.armModelID = -1; playerLoadInfo.weaponModelID = -1; playerLoadInfo.legModelID = -1; SetRenderPlayerModel(root, UI.TEX_MODEL, playerLoadInfo, 98, new Vector3(0f, -1.613f, 2.342f), new Vector3(0f, 154f, 0f), true, null); if (playerRecord2.charaInfo.selectedDegrees != null && playerRecord2.charaInfo.selectedDegrees.Count == GameDefine.DEGREE_PART_COUNT) { DegreePlate component = FindCtrl(root, UI.OBJ_DEGREE_PLATE).GetComponent <DegreePlate>(); component.Initialize(playerRecord2.charaInfo.selectedDegrees, false, delegate { }); } root = SetPrefab(itemsR[k], "QuestResultFriendItemR", true); int num10 = score_list[k] % 10; int num11 = score_list[k] / 10 % 10; int num12 = score_list[k] / 100; SetSprite(root, UI.SPR_NUM_0, num10.ToString("D2")); if (num12 != 0 || num11 != 0) { SetSprite(root, UI.SPR_NUM_1, num11.ToString("D2")); } else { SetActive(root, UI.SPR_NUM_1, false); } if (num12 != 0) { SetSprite(root, UI.SPR_NUM_2, num12.ToString("D2")); } else { SetActive(root, UI.SPR_NUM_2, false); } if (!playerRecord2.isSelf && !playerRecord2.isNPC) { SetEvent(root, UI.BTN_FOLLOW, "FOLLOW", k); if (!flag) { SetButtonSprite(root, UI.BTN_FOLLOW, "ResultfollowBtn", true); SetButtonEnabled(root, UI.BTN_FOLLOW, true); } else { SetButtonSprite(root, UI.BTN_FOLLOW, "ResultfollowBtnOff", true); SetButtonEnabled(root, UI.BTN_FOLLOW, false); } } else { SetActive(root, UI.BTN_FOLLOW, false); } } } else { Transform root2 = SetPrefab(itemsL[k], "QuestResultFriendItemL", true); SetActive(root2, UI.LBL_NAME, false); SetActive(root2, UI.LBL_NAME_OWN, false); SetActive(root2, UI.LBL_LEVEL, false); SetButtonSprite(root2, UI.BTN_DETAIL, "ResultPlateGrey", true); SetButtonEnabled(root2, UI.BTN_DETAIL, false); SetEvent(root2, UI.BTN_DETAIL, "DETAIL", k); SetActive(root2, UI.TEX_MODEL, false); root2 = SetPrefab(itemsR[k], "QuestResultFriendItemR", true); SetActive(root2, UI.SPR_NUM_0, false); SetActive(root2, UI.SPR_NUM_1, false); SetActive(root2, UI.SPR_NUM_2, false); SetActive(root2, UI.SPR_PER, false); SetActive(root2, UI.BTN_FOLLOW, false); } } PlayTween((Enum)UI.OBJ_ITEMS, true, (EventDelegate.Callback)null, true, 0); } }