// Token: 0x06006144 RID: 24900 RVA: 0x00224CE8 File Offset: 0x002230E8 private void RefreshCurrentSubScreenTabCell(SubScreenTabTableViewCell oldCell, SubScreenTabTableViewCell newCell) { if (oldCell != null) { oldCell.RefreshAsNotSelected(); } if (newCell != null) { newCell.RefreshAsSelected(); } }
// Token: 0x0600613F RID: 24895 RVA: 0x00224A5C File Offset: 0x00222E5C public TableViewCell GetCellForRowInTableView(TableView tableView, int row) { SubScreenTabTableViewCell subScreenTabTableViewCell = tableView.GetReusableCell(this.subScreenTabPrefab.reuseIdentifier) as SubScreenTabTableViewCell; if (subScreenTabTableViewCell == null) { subScreenTabTableViewCell = (SubScreenTabTableViewCell)AssetManagement.Instantiate(this.subScreenTabPrefab); UnityEngine.Object gameObject = subScreenTabTableViewCell.gameObject; string str = "SubScreenTableViewCellInstance_"; int num = ++this.mNumInstancesCreated; gameObject.name = str + num.ToString(); } VRCUiPage subPage = this.mSubPages[row % this.mSubPages.Count]; subScreenTabTableViewCell.SetupCell(subPage, this.defaultTabFontSize, this.defaultTabColor, this.selectedTabFontSize, this.selectedTabColor); return(subScreenTabTableViewCell); }