// Token: 0x06002248 RID: 8776 RVA: 0x000A1FEC File Offset: 0x000A01EC private void UpdateLerp() { LerpUIRect.LerpState lerpState = this.lerpState; if (lerpState != LerpUIRect.LerpState.Entering) { if (lerpState != LerpUIRect.LerpState.Leaving) { return; } float num = this.stopwatch / this.enterDuration; float t = this.leavingCurve.Evaluate(num); this.rectTransform.anchoredPosition = Vector3.LerpUnclamped(this.finalLocalPosition, this.startLocalPosition, t); if (num >= 1f) { this.lerpState = LerpUIRect.LerpState.Holding; this.stopwatch = 0f; } } else { float num = this.stopwatch / this.enterDuration; float t = this.enterCurve.Evaluate(num); this.rectTransform.anchoredPosition = Vector3.LerpUnclamped(this.startLocalPosition, this.finalLocalPosition, t); if (num >= 1f) { this.lerpState = LerpUIRect.LerpState.Holding; this.stopwatch = 0f; return; } } }
// Token: 0x060024A6 RID: 9382 RVA: 0x000AB8BC File Offset: 0x000A9ABC public void LerpAllUI(LerpUIRect.LerpState lerpState) { LerpUIRect[] array = this.uiToLerp; for (int i = 0; i < array.Length; i++) { array[i].lerpState = lerpState; } }