// Token: 0x06004BC5 RID: 19397 RVA: 0x00128100 File Offset: 0x00126300 public static global::TweenColor Begin(GameObject go, float duration, Color color) { global::TweenColor tweenColor = global::UITweener.Begin <global::TweenColor>(go, duration); tweenColor.from = tweenColor.color; tweenColor.to = color; return(tweenColor); }
// Token: 0x0600491D RID: 18717 RVA: 0x00116BFC File Offset: 0x00114DFC private void OnDisable() { if (this.tweenTarget != null) { global::TweenColor component = this.tweenTarget.GetComponent <global::TweenColor>(); if (component != null) { component.color = this.mColor; component.enabled = false; } } }
// Token: 0x06004917 RID: 18711 RVA: 0x00116AF4 File Offset: 0x00114CF4 public void UpdateColor(bool shouldBeEnabled, bool immediate) { if (this.tweenTarget) { if (!this.mInitDone) { base.Init(); } Color color = (!shouldBeEnabled) ? this.disabledColor : base.defaultColor; global::TweenColor tweenColor = global::TweenColor.Begin(this.tweenTarget, 0.15f, color); if (immediate) { tweenColor.color = color; tweenColor.enabled = false; } } }