// Token: 0x060022EA RID: 8938 RVA: 0x0009804C File Offset: 0x0009624C private void RebuildHeaders() { for (int i = 0; i < this.headers.Length; i++) { HeaderNavigationController.Header header = this.headers[i]; if (i == this.currentHeaderIndex) { if (header.headerRoot) { header.headerRoot.SetActive(true); } if (header.headerButton && this.buttonSelectionRoot) { this.buttonSelectionRoot.transform.SetParent(header.headerButton.transform, false); this.buttonSelectionRoot.SetActive(false); this.buttonSelectionRoot.SetActive(true); RectTransform component = this.buttonSelectionRoot.GetComponent <RectTransform>(); component.offsetMin = Vector2.zero; component.offsetMax = Vector2.zero; component.localScale = Vector3.one; } } else if (header.headerRoot) { header.headerRoot.SetActive(false); } } }
// Token: 0x060022E7 RID: 8935 RVA: 0x00097F64 File Offset: 0x00096164 private void LateUpdate() { for (int i = 0; i < this.headers.Length; i++) { HeaderNavigationController.Header header = this.headers[i]; if (i == this.currentHeaderIndex) { header.tmpHeaderText.color = Color.white; } else { header.tmpHeaderText.color = Color.gray; } } }