public void Refresh() { this.RefreshItems(); if (!Object.op_Inequality((Object)this.ScrollRect, (Object)null)) { return; } ListExtras component = (ListExtras)((Component)this.ScrollRect).GetComponent <ListExtras>(); if (Object.op_Inequality((Object)component, (Object)null)) { component.SetScrollPos(1f); } else { this.ScrollRect.set_normalizedPosition(Vector2.get_one()); } }
public void Refresh(bool isEvent, bool isSelect = false) { GlobalVars.SelectedMultiPlayQuestIsEvent = isEvent; this.RefreshItems(isSelect); if (!Object.op_Inequality((Object)this.ScrollRect, (Object)null)) { return; } ListExtras component = (ListExtras)((Component)this.ScrollRect).GetComponent <ListExtras>(); if (Object.op_Inequality((Object)component, (Object)null)) { component.SetScrollPos(1f); } else { this.ScrollRect.set_normalizedPosition(Vector2.get_one()); } }
private void Refresh(bool isEvent, QuestListV2_MultiPlayCategory.DISPLAY_QUEST_TYPE type = QuestListV2_MultiPlayCategory.DISPLAY_QUEST_TYPE.Normal) { GlobalVars.SelectedMultiPlayQuestIsEvent = isEvent; this.RefreshItems(type); if (!UnityEngine.Object.op_Inequality((UnityEngine.Object) this.ScrollRect, (UnityEngine.Object)null)) { return; } ListExtras component = (ListExtras)((Component)this.ScrollRect).GetComponent <ListExtras>(); if (UnityEngine.Object.op_Inequality((UnityEngine.Object)component, (UnityEngine.Object)null)) { component.SetScrollPos(1f); } else { this.ScrollRect.set_normalizedPosition(Vector2.get_one()); } }