CompositeCollider2D.GetPathPointCount

Switch to Manual
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.

See Also: GetPath & pathCount.

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