mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
6bb97abd2d
commit
5b9c7e11d5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user