This commit is contained in:
MrGadget1024 2021-06-30 13:14:36 -04:00
parent 6bb97abd2d
commit 5b9c7e11d5

View File

@ -316,7 +316,7 @@ Vector3 InterpolateScale(DataPoint start, DataPoint goal, Vector3 currentScale)
{
return goal.localScale;
}
else if (interpolateScale && start != null )
else if (interpolateScale && start != null)
{
float t = CurrentInterpolationFactor(start, goal);
return Vector3.Lerp(start.localScale, goal.localScale, t);