Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit b99f786

Browse files
author
Yuncong Zhang
committed
Fix.
1 parent a97616e commit b99f786

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Runtime/animation/tween.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ public ConstantTween(T value) : base(begin: value, end: value) {
218218
}
219219

220220
public override T lerp(float t) => this.begin;
221-
222-
String toString() => $"{this.GetType()}(value: {this.begin})";
221+
public override string ToString() => $"{this.GetType()}(value: {this.begin})";
223222
}
224223

225224
public class CurveTween : Animatable<float> {

0 commit comments

Comments
 (0)