} //END Play //--------------------------------------------// public void Play<T>( T changeThis, Vector3 startScale, Vector3 endScale, AnimationCurve easeCurve, float length, float delay, bool loop, UnityEvent onCompleteOrLoop ) where T : Transform //--------------------------------------------// { this.endScaleType = EndScaleType.SetScale; _Play( changeThis, startScale, endScale, easeCurve, length, delay, loop, onCompleteOrLoop ); } //END Play
} //END ComputeEndScaleUsingMultiplier //--------------------------------------------// public void Play<T>( T changeThis, Vector3 startScale, float endScaleMultiplier, AnimationCurve easeCurve, float length, float delay, bool loop, UnityEvent onCompleteOrLoop ) where T : Transform //--------------------------------------------// { this.endScaleType = EndScaleType.UseMultiplier; this.endScaleMultiplier = endScaleMultiplier; endScale = ComputeEndScaleUsingMultiplier( startScale, endScaleMultiplier ); _Play<T>( changeThis, startScale, endScale, easeCurve, length, delay, loop, onCompleteOrLoop ); } //END Play