protected override void Transition(float step) { if (canvas == null) { return; } progress = curve.Evaluate(step); canvas.alpha = alpha.Lerp(progress); }
protected override void Transition(float step) { progress = curve.Evaluate(step); for (int i = 0; i < graphics.Count; i++) { color = graphics[i].color; color.a = alpha.Lerp(progress); graphics[i].color = color; } }
protected override void Transition(float step) { progress = curve.Evaluate(step); SetImageFillAmount(interval.Lerp(progress)); }