This version of Unity is unsupported.

CompositeCollider2D.GetPathPointCount

Switch to Manual

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.

See Also: GetPath & pathCount.