Version: 2023.1
public int iterationsUsed ;

描述

Returns the number of iterations used when performing a Rigidbody2D.Slide.

This will never exceed the Rigidbody2D.SlideMovement.maxIterations.

See Also: Rigidbody2D.Slide and SlideMovement.