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