CompositeCollider2D.GetPathPointCount

Declaration

public int GetPathPointCount(int index);

Parameters

index The index of the path from 0 to pathCount minus 1.

Returns

int Returns the number of points in the path specified by index.

Description

Gets the number of points in the specified path from the Collider by its index.

Additional resources: GetPath & pathCount.


Did you find this page useful? Please give it a rating: