◆ LerpScale()

static void LerpScale ( this Transform  transform,
Vector3  finalSclae,
float  fraction 
)
static

Convenience function used to get, lerp, and set the transform's scale

Parameters
transformthis is the calling transform, which will have it's scale adjusted.
finalSclaethis is the final scale the transform will be lerped towards.
fractionfractional amount to lerp from this transform's current scale to the provided finalSclae.