void OnTweenScaleEnd(bool isKinematicAfter) { tweening = false; PhysicsRigUtils.ScaleEnd(transform, resetableRigidbodies, isKinematicAfter); onTweenScaleEnd.Invoke(); }
public void ScaleTo(float toScale, bool isKinematicAfter = false) { OnScaleStart(); OnScaleUpdate(toScale); PhysicsRigUtils.ScaleEnd(transform, resetableRigidbodies, isKinematicAfter); }