iterationsUsed
Returns the number of iterations used when performing a Rigidbody2D.Slide.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public int iterationsUsed { readonly get; set; }
Remarks
This will never exceed the Rigidbody2D.SlideMovement.maxIterations.
Additional Resources: Rigidbody2D.Slide and Rigidbody2D.SlideMovement.