// Token: 0x0600228B RID: 8843 RVA: 0x000958AD File Offset: 0x00093AAD public GameObject GetGameObject(CursorIndicatorController.CursorImage cursorImage) { switch (cursorImage) { case CursorIndicatorController.CursorImage.None: return(null); case CursorIndicatorController.CursorImage.Pointer: return(this.pointerObject); case CursorIndicatorController.CursorImage.Hover: return(this.hoverObject); default: return(null); } }
// Token: 0x06002287 RID: 8839 RVA: 0x000957C8 File Offset: 0x000939C8 public void SetCursor(CursorIndicatorController.CursorSet cursorSet, CursorIndicatorController.CursorImage cursorImage, Color color) { GameObject gameObject = cursorSet.GetGameObject(cursorImage); bool flag = color != this.cachedIndicatorColor; if (gameObject != this.currentChildIndicator) { if (this.currentChildIndicator) { this.currentChildIndicator.SetActive(false); } this.currentChildIndicator = gameObject; if (this.currentChildIndicator) { this.currentChildIndicator.SetActive(true); } flag = true; } if (flag) { this.cachedIndicatorColor = color; this.ApplyIndicatorColor(); } }