Example #1
0
 public Color32 Evaluate32(float time) => Color.Lerp(g1.Evaluate32(time), g2.Evaluate32(time),
                                                     Mathf.Clamp01((time - 0.5f) * (0.5f / (0.5f - lerpOff)) + 0.5f));
Example #2
0
 private void SetColor()
 {
     text.color = gradient.Evaluate32(time / ttl);
 }
Example #3
0
 public Color32 Evaluate32(float time) => inner.Evaluate32(Mathf.Clamp01(start + eminuss * time));